FromDataFrameRow

Trait FromDataFrameRow 

Source
pub trait FromDataFrameRow<'a> {
    type Builder: ColumnNameBuilder;

    // Required methods
    fn from_dataframe(
        dataframe: &'a DataFrame,
        columns: HashMap<&'static str, String>,
    ) -> PolarsResult<Box<dyn Iterator<Item = PolarsResult<Self>> + 'a>>
       where Self: Sized;
    fn create_builder() -> Self::Builder;
}

Required Associated Types§

Required Methods§

Source

fn from_dataframe( dataframe: &'a DataFrame, columns: HashMap<&'static str, String>, ) -> PolarsResult<Box<dyn Iterator<Item = PolarsResult<Self>> + 'a>>
where Self: Sized,

Source

fn create_builder() -> Self::Builder

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§