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

    fn try_index_of(&self, name: &str) -> PolarsResult<usize> { ... }
}
Available on crate feature private 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§