Function polars::frame::row::rows_to_schema_supertypes
source · pub fn rows_to_schema_supertypes(
rows: &[Row<'_>],
infer_schema_length: Option<usize>
) -> Result<Schema, PolarsError>
Available on crate features
rows
or object
only.Expand description
Infer the schema of rows by determining the supertype of the values.
Field names are set as column_0
, column_1
, and so on.