- Series.rolling_median(window_size: int, weights: Optional[List[float]] = None, min_periods: Optional[int] = None, center: bool = False) polars.internals.series.Series ¶
Compute a rolling median
The length of the window.
An optional slice with the same length as the window that will be multiplied elementwise with the values in the window.
The number of values in the window that should be non-null before computing a result. If None, it will be set equal to window size.
Set the labels at the center of the window