Remove unnecessary statement
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user