Struct polars_lazy::dsl::MetaNameSpace  
pub struct MetaNameSpace(/* private fields */);Expand description
Specialized expressions for Categorical dtypes.
Implementations§
§impl MetaNameSpace
 
impl MetaNameSpace
pub fn pop(self) -> Vec<Expr>
pub fn pop(self) -> Vec<Expr>
Pop latest expression and return the input(s) of the popped expression.
pub fn root_names(&self) -> Vec<Arc<str>>
pub fn root_names(&self) -> Vec<Arc<str>>
Get the root column names.
pub fn is_simple_projection(&self) -> bool
pub fn is_simple_projection(&self) -> bool
A projection that only takes a column or a column + alias.
pub fn output_name(&self) -> Result<Arc<str>, PolarsError>
pub fn output_name(&self) -> Result<Arc<str>, PolarsError>
Get the output name of this expression.
pub fn undo_aliases(self) -> Expr
pub fn undo_aliases(self) -> Expr
Undo any renaming operation like alias, keep_name.
pub fn has_multiple_outputs(&self) -> bool
pub fn has_multiple_outputs(&self) -> bool
Indicate if this expression expands to multiple expressions.
pub fn is_column_selection(&self, allow_aliasing: bool) -> bool
pub fn is_column_selection(&self, allow_aliasing: bool) -> bool
Indicate if this expression only selects columns; the presence of any
transform operations will cause the check to return false, though
aliasing of the selected columns is optionally allowed.
pub fn is_regex_projection(&self) -> bool
pub fn is_regex_projection(&self) -> bool
Indicate if this expression expands to multiple expressions with regex expansion.
pub fn _selector_add(self, other: Expr) -> Result<Expr, PolarsError>
pub fn _selector_and(self, other: Expr) -> Result<Expr, PolarsError>
pub fn _selector_sub(self, other: Expr) -> Result<Expr, PolarsError>
pub fn _selector_xor(self, other: Expr) -> Result<Expr, PolarsError>
pub fn _into_selector(self) -> Expr
pub fn into_tree_formatter(self) -> Result<impl Display, PolarsError>
pub fn into_tree_formatter(self) -> Result<impl Display, PolarsError>
Get a hold to an implementor of the Display trait that will format as
the expression as a tree
Auto Trait Implementations§
impl Freeze for MetaNameSpace
impl !RefUnwindSafe for MetaNameSpace
impl Send for MetaNameSpace
impl Sync for MetaNameSpace
impl Unpin for MetaNameSpace
impl !UnwindSafe for MetaNameSpace
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more