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