pub fn rolling_max<T>(
    values: &[T],
    window_size: usize,
    min_periods: usize,
    center: bool,
    weights: Option<&[f64]>,
    _params: DynArgs
) -> PolarsResult<ArrayRef>
where T: NativeType + PartialOrd + IsFloat + Bounded + NumCast + Mul<Output = T> + Num,