i am trying to execute this line in my rust programme:
let filtered_df = df.filter(col("time").eq(cursor_date_str)).head(Some(1));
and the compiler returns that
error[E0425]: cannot find function `col` in this scope
--> src/main.rs:50:37
|
50 | let filtered_df = df.filter(col("time").eq(cursor_date_str)).head(Some(1));
| ^^^ not found in this scope
even though i have imported all from prelude:
use polars::prelude::*;
and my polars is up to date as well:
polars = "0.30.0"