polars::prelude::_csv_read_internal

Function prepare_csv_schema

Source
pub fn prepare_csv_schema(
    schema: &mut Arc<Schema<DataType>>,
    fields_to_cast: &mut Vec<Field>,
) -> Result<bool, PolarsError>
Available on crate feature polars-io only.
Expand description

Splits datatypes that cannot be natively read into a fields_to_cast for post-read casting.

ยงReturns

has_categorical