Skip to main content

ToDataFrameVec

Trait ToDataFrameVec 

Source
pub trait ToDataFrameVec {
    // Required method
    fn to_dataframe(&self) -> PolarsResult<DataFrame>;
}
Expand description

Extension trait enabling .to_dataframe() on slices (and Vec via auto-deref)

Required Methods§

Source

fn to_dataframe(&self) -> PolarsResult<DataFrame>

§Errors

Returns an error if DataFrame construction fails.

Implementations on Foreign Types§

Source§

impl<T> ToDataFrameVec for [T]
where T: Columnar + ToDataFrame,

Implementors§