Struct polars::datatypes::Schema [−][src]
pub struct Schema { /* fields omitted */ }
Implementations
pub fn rename<I, J, T, S>(
&self,
old_names: I,
new_names: J
) -> Result<Schema, PolarsError> where
I: IntoIterator<Item = T>,
J: IntoIterator<Item = S>,
T: AsRef<str>,
S: AsRef<str>,
Returns an immutable reference of the vector of Field
instances
Returns a mutable reference of the vector of Field
instances
Returns an immutable reference of a specific Field
instance selected using an
offset within the internal fields
vector
Returns an immutable reference of a specific Field
instance selected by name
Find the index of the column with the given name
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Schema
impl UnwindSafe for Schema
Blanket Implementations
Mutably borrows from an owned value. Read more