polars::prelude

Function apply_projection

Source
pub fn apply_projection(
    schema: &Schema<Field>,
    projection: &[usize],
) -> Schema<Field>
Available on crate feature polars-io and (crate features ipc or ipc_streaming or parquet or avro) only.