polars_lazy::dsl

Function cum_fold_exprs

Source
pub fn cum_fold_exprs<F, E>(
    acc: Expr,
    f: F,
    exprs: E,
    include_init: bool,
) -> Expr
where F: 'static + Fn(Column, Column) -> Result<Option<Column>, PolarsError> + Send + Sync, E: AsRef<[Expr]>,
Available on crate feature dtype-struct only.
Expand description

Accumulate over multiple columns horizontally / row wise.