(symbol_expr: pl.Expr, ts_us_expr: pl.Expr, threshold_seconds: int = 24 * 3600)
| 105 | """The canonical columns, parsed and cast, before rows with nulls are dropped.""" |
| 106 | frame = _canonicalize_columns(df) |
| 107 | _validate_required_columns(frame) |
| 108 | |
| 109 | lf = frame.lazy().with_columns( |
| 110 | _parse_ts(pl.col("ts").cast(pl.Utf8)), |
| 111 | pl.col("symbol").cast(pl.Utf8), |
| 112 | pl.col("open").cast(pl.Float64), |
| 113 | pl.col("high").cast(pl.Float64), |
| 114 | pl.col("low").cast(pl.Float64), |
| 115 | pl.col("close").cast(pl.Float64), |
no outgoing calls
no test coverage detected