polars_arrow::legacy::kernels::rolling::no_nulls

Function rolling_max

Source
pub fn rolling_max<T>(
    values: &[T],
    window_size: usize,
    min_periods: usize,
    center: bool,
    weights: Option<&[f64]>,
    _params: Option<RollingFnParams>,
) -> PolarsResult<ArrayRef>
where T: NativeType + PartialOrd + IsFloat + Bounded + NumCast + Mul<Output = T> + Num,