Remove unnecessary statement

This commit is contained in:
2026-07-13 18:30:44 +02:00
parent 44f9c5ad21
commit afe719c030
-2
View File
@@ -4,8 +4,6 @@ import polars as pl
def get_j1939_mask() -> pl.Expr:
"""
Returns a Polars expression representing the J1939 filtering rules.
Updated to include all 29-bit extended frames, including proprietary ones
(which have the Data Page bit set to 1) and CAN FD frames.
"""
id_int = pl.col("ID").str.to_integer(base=16).cast(pl.UInt32)
return id_int > 0x7FF