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

    fn try_index_of(&self, name: &str) -> Result<usize, PolarsError> { ... }
}
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