pub fn rolling_var<T>( arr: &PrimitiveArray<T>, window_size: usize, min_periods: usize, center: bool, weights: Option<&[f64]>, params: Option<RollingFnParams>, ) -> ArrayRefwhere T: NativeType + Sum<T> + Zero + AddAssign + SubAssign + IsFloat + Float,