Drop data column, keeping only the 8 bytes
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ def parse_csv(csv_path: PathLike) -> pl.LazyFrame:
|
||||
)
|
||||
byte_exprs.append(expr)
|
||||
|
||||
lf = lf.with_columns(byte_exprs)
|
||||
lf = lf.with_columns(byte_exprs).drop("Data")
|
||||
|
||||
return lf.with_columns([
|
||||
pl.col("DLC").cast(pl.UInt8),
|
||||
|
||||
Reference in New Issue
Block a user