pub fn columns_to_projection<T>(
columns: &[T],
schema: &Schema<Field>,
) -> Result<Vec<usize>, PolarsError>
Available on crate feature
polars-io
and (crate features ipc
or ipc_streaming
or avro
or parquet
) only.