Trait polars_core::schema::IndexOfSchema
source · pub trait IndexOfSchema: Debug {
// Required methods
fn index_of(&self, name: &str) -> Option<usize>;
fn get_names(&self) -> Vec<&str>;
// Provided method
fn try_index_of(&self, name: &str) -> PolarsResult<usize> { ... }
}
Expand description
This trait exists to be unify the API of polars Schema and arrows Schema