def METHOD_NAME(self):
    def rolling_max(datetime, numeric):
        x = pd.Series(numeric.values, index=datetime.values)
        return apply_rolling_agg_to_series(
            x,
            lambda series: series.max(),
            self.window_length,
            self.gap,
            self.min_periods,
        )
    return rolling_max