polars_arrow::legacy::kernels::rolling::nulls

Function rolling_sum

Source
pub fn rolling_sum<T>(
    arr: &PrimitiveArray<T>,
    window_size: usize,
    min_periods: usize,
    center: bool,
    weights: Option<&[f64]>,
    _params: Option<RollingFnParams>,
) -> ArrayRef
where T: NativeType + IsFloat + PartialOrd + Add<Output = T> + Sub<Output = T>,