Trait polars_lazy::dsl::ExprEvalExtension

source ·
pub trait ExprEvalExtension: IntoExpr + Sized {
    // Provided method
    fn cumulative_eval(
        self,
        expr: Expr,
        min_periods: usize,
        parallel: bool
    ) -> Expr { ... }
}
Available on crate features cumulative_eval or list_eval only.

Provided Methods§

source

fn cumulative_eval(self, expr: Expr, min_periods: usize, parallel: bool) -> Expr

Run an expression over a sliding window that increases 1 slot every iteration.

§Warning

This can be really slow as it can have O(n^2) complexity. Don’t use this for operations that visit all elements.

Object Safety§

This trait is not object safe.

Implementors§