pub fn to_dataframe<'a, T, I, H>( values: Vec<T>, names: I, ) -> PolarsResult<DataFrame>where T: IntoRow<'a>, H: Into<PlSmallStr>, I: IntoIterator<Item = H>,
Convert vector of values of a given type to a Polars DataFrame
let df = to_dataframe::<i32, _, str>(vec![1, 2, 3], ["a", "b", "c"]);