Module polars_lazy::dsl
source · Expand description
Domain specific language for the Lazy api.
Re-exports
pub use functions::*;
Modules
Structs
Specialized expressions for Categorical dtypes.
Specialized expressions for
Series
of DataType::List
.Wrapper type that has special equality properties
depending on the inner type specialization
Intermediate state of
when(..).then(..).otherwise(..)
expr.Intermediate state of
when(..).then(..).otherwise(..)
expr.Intermediate state of chain when then exprs.
Enums
Traits
ExprEvalExtension
cumulative_eval
A wrapper trait for any binary closure
Fn(Series, Series) -> PolarsResult<Series>
A wrapper trait for any closure
Fn(Vec<Series>) -> PolarsResult<Series>
Functions
Selects all columns
Evaluate all the expressions with a bitwise and
Evaluate all the expressions with a bitwise or
Apply a function/closure over the groups of multiple columns. This should only be used in a groupby aggregation.
arange
arange
Create list entries that are range arrays
arg_where
arg_where
Get the indices where
condition
evaluates true
.Find the indexes that would sort these series in order of appearance.
That means that the first
Series
will be used to determine the ordering
until duplicates are found. Once duplicates are found, the next Series
will
be used and so on.as_struct
dtype-struct
Take several expressions and collect them into a
StructChunked
.Find the mean of all the values in this Expression.
Folds the expressions from left to right keeping the first no null values.
Create a Column Expression based on a column name.
Select multiple columns by name
Concat lists entries.
concat_str
concat_str
and strings
Horizontally concat string columns in linear time
Count expression
Compute the covariance between two columns.
cumfold_exprs
dtype-struct
Accumulate over multiple columns horizontally / row wise.
cumreduce_exprs
dtype-struct
Accumulate over multiple columns horizontally / row wise.
datetime
temporal
Select multiple columns by dtype.
Select multiple columns by dtype.
duration
temporal
First column in DataFrame
Accumulate over multiple columns horizontally / row wise.
format_str
concat_str
and strings
Format the results of an array of expressions using a format string
IsNotNull expression.
Last column in DataFrame
Create a Literal Expression from
L
Apply a closure on the two columns that are evaluated from
Expr
a and Expr
b.Apply a function/closure over multiple columns once the logical plan get executed.
Apply a function/closure over multiple columns once the logical plan get executed.
Find the maximum of all the values in this Expression.
Get the the maximum value per row
Find the mean of all the values in this Expression.
Find the median of all the values in this Expression.
Find the minimum of all the values in this Expression.
Compute the pearson correlation between two columns.
Find a specific quantile of all the values in this Expression.
Create a range literal.
Repeat a literal
value
n
times.spearman_rank_corr
rank
and propagate_nans
Compute the spearman rank correlation between two columns.
Missing data will be excluded from the computation.
Sum all the values in this Expression.
Get the the sum of the values per row
Start a when-then-otherwise expression