pub trait GGData {
// Required method
fn into_dataframe(self) -> DataFrame;
}Expand description
Trait for types that can be converted into our internal DataFrame.
Required Methods§
fn into_dataframe(self) -> DataFrame
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl GGData for DataFrame
Available on crate feature polars only.polars DataFrame input: convert each column to our internal format.
impl GGData for DataFrame
Available on crate feature
polars only.polars DataFrame input: convert each column to our internal format.
fn into_dataframe(self) -> DataFrame
Source§impl GGData for Vec<(String, Vec<Value>)>
Column-oriented input: Vec of (name, values) pairs.
impl GGData for Vec<(String, Vec<Value>)>
Column-oriented input: Vec of (name, values) pairs.
fn into_dataframe(self) -> DataFrame
Source§impl GGData for Vec<HashMap<String, Value>>
Row-oriented input: Vec of HashMaps.
impl GGData for Vec<HashMap<String, Value>>
Row-oriented input: Vec of HashMaps.