def METHOD_NAME(datetime, numeric):
    x = pd.Series(numeric.values, index=datetime.values)
    return apply_rolling_agg_to_series(
        series=x,
        agg_func=self.get_outliers_count,
        window_length=self.window_length,
        gap=self.gap,
        min_periods=self.min_periods,
        ignore_window_nans=False,
    )