polars_io::utils

Function columns_to_projection

Source
pub fn columns_to_projection<T: AsRef<str>>(
    columns: &[T],
    schema: &ArrowSchema,
) -> PolarsResult<Vec<usize>>
Available on crate features ipc or ipc_streaming or avro or parquet only.