Module polars_lazy::dsl

source ·
Expand description

Domain specific language for the Lazy api.

Re-exports

pub use functions::*;

Modules

binarydtype-binary
catdtype-categorical
Functions
stringstrings

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

Queries consists of multiple expressions.

Traits

ExprEvalExtensioncumulative_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.
arangearange
Create list entries that are range arrays
arg_wherearg_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_structdtype-struct
Take several expressions and collect them into a StructChunked.
Find the mean of all the values in this Expression.
Cast 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_strconcat_str and strings
Horizontally concat string columns in linear time
Count expression
Compute the covariance between two columns.
cumfold_exprsdtype-struct
Accumulate over multiple columns horizontally / row wise.
cumreduce_exprsdtype-struct
Accumulate over multiple columns horizontally / row wise.
datetimetemporal
Select multiple columns by dtype.
Select multiple columns by dtype.
durationtemporal
First column in DataFrame
Accumulate over multiple columns horizontally / row wise.
format_strconcat_str and strings
Format the results of an array of expressions using a format string
IsNull 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.
Not 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_corrrank 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

Type Definitions