Module polars_plan::dsl
source · Expand description
Domain specific language for the Lazy API.
Re-exports§
pub use udf::UserDefinedFunction;
pub use crate::plans::lit;
pub use cat::*;
dtype-categorical
pub use function_expr::*;
pub use functions::*;
Modules§
- cat
dtype-categorical
- dt
temporal
- Functions
- python_udf
python
- string
strings
Structs§
- ArrayNameSpace
dtype-array
Specialized expressions forSeries
ofDataType::Array
. - Utility struct for the
when-then-otherwise
expression. - Utility struct for the
when-then-otherwise
expression. - Specialized expressions for modifying the name of existing expressions.
- Specialized expressions for
Series
ofDataType::List
. - MetaNameSpace
meta
Specialized expressions for Categorical dtypes. - Wrapper type that has special equality properties depending on the inner type specialization
- StructNameSpace
dtype-struct
Specialized expressions for Struct dtypes. - Utility struct for the
when-then-otherwise
expression. - Utility struct for the
when-then-otherwise
expression.
Enums§
- Expressions that can be used in various contexts. Queries consist of multiple expressions. When using the polars lazy API, don’t construct an
Expr
directly; instead, create one using the functions in thepolars_lazy::dsl
module. See that module’s docs for more info.
Traits§
- A wrapper trait for any binary closure
Fn(Series, Series) -> PolarsResult<Series>
- A wrapper trait for any closure
Fn(Vec<Series>) -> PolarsResult<Series>
Functions§
- Apply a function/closure over the groups of multiple columns. This should only be used in a group_by aggregation.
- Compute
op(l, r)
(or equivalentlyl op r
).l
andr
must have types compatible with the Operator. - First column in a DataFrame.
- Last column in a DataFrame.
- Return the number of rows in the context.
- 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.
- Nth column in a DataFrame.
- Start a
when-then-otherwise
expression.
Type Aliases§
- FieldsNameMapper
dtype-struct