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

    // Provided method
    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§

source

fn index_of(&self, name: &str) -> Option<usize>

Get the index of column by name.

Provided Methods§

Implementors§