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

Function rolling_sum

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