pub fn dataframe_to_ticks(df: &DataFrame) -> Result<Vec<Tick>>
Convert a Polars DataFrame back into Vec.