pub fn rolling_sum<T>( arr: &PrimitiveArray<T>, window_size: usize, min_periods: usize, center: bool, weights: Option<&[f64]>) -> ArrayRef where T: NativeType + Sum + Zero + AddAssign + Copy,