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