pub trait IndexOfSchema: Debug {
    fn index_of(&self, name: &str) -> Option<usize>;

    fn try_index_of(&self, name: &str) -> Result<usize, PolarsError> { ... }
}
This is supported on crate feature object only.
Expand description

This trait exists to be unify the API of polars Schema and arrows Schema

Required methods

Get the index of column by name.

Provided methods

Implementors