Struct polars_plan::dsl::MetaNameSpace
source · pub struct MetaNameSpace(/* private fields */);
Available on crate feature
meta
only.Expand description
Specialized expressions for Categorical dtypes.
Implementations§
source§impl MetaNameSpace
impl MetaNameSpace
sourcepub fn pop(self) -> Vec<Expr>
pub fn pop(self) -> Vec<Expr>
Pop latest expression and return the input(s) of the popped expression.
sourcepub fn root_names(&self) -> Vec<Arc<str>>
pub fn root_names(&self) -> Vec<Arc<str>>
Get the root column names.
sourcepub fn is_simple_projection(&self) -> bool
pub fn is_simple_projection(&self) -> bool
A projection that only takes a column or a column + alias.
sourcepub fn output_name(&self) -> PolarsResult<Arc<str>>
pub fn output_name(&self) -> PolarsResult<Arc<str>>
Get the output name of this expression.
sourcepub fn undo_aliases(self) -> Expr
pub fn undo_aliases(self) -> Expr
Undo any renaming operation like alias
, keep_name
.
sourcepub fn has_multiple_outputs(&self) -> bool
pub fn has_multiple_outputs(&self) -> bool
Indicate if this expression expands to multiple expressions.
sourcepub 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) -> PolarsResult<Expr>
pub fn _selector_sub(self, other: Expr) -> PolarsResult<Expr>
pub fn _selector_and(self, other: Expr) -> PolarsResult<Expr>
pub fn _into_selector(self) -> Expr
sourcepub fn into_tree_formatter(self) -> PolarsResult<impl Display>
pub fn into_tree_formatter(self) -> PolarsResult<impl Display>
Get a hold to an implementor of the Display
trait that will format as
the expression as a tree
Auto Trait Implementations§
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