polars_io::csv::read::_csv_read_internal

Function cast_columns

Source
pub fn cast_columns(
    df: &mut DataFrame,
    to_cast: &[Field],
    parallel: bool,
    ignore_errors: bool,
) -> PolarsResult<()>
Available on crate features csv or json only.