Trait polars::prelude::ExprEvalExtension

source ·
pub trait ExprEvalExtension: Sized + IntoExpr {
    // Provided method
    fn cumulative_eval(
        self,
        expr: Expr,
        min_periods: usize,
        parallel: bool
    ) -> Expr { ... }
}
Available on crate feature lazy 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§