Skip to main content

rows_to_schema_supertypes

Function rows_to_schema_supertypes 

Source
pub fn rows_to_schema_supertypes(
    rows: &[Row<'_>],
    infer_schema_length: Option<usize>,
) -> PolarsResult<Schema>
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.