polars_rows_iter/
from_dataframe_row.rs

1
2
3
4
5
6
7
use polars::prelude::*;

pub trait FromDataFrameRow<'a> {
    fn from_dataframe(dataframe: &'a DataFrame) -> PolarsResult<Box<dyn Iterator<Item = PolarsResult<Self>> + 'a>>
    where
        Self: Sized;
}