

def seasonal_mean(x, freq):
    '\n    Return means for each period in x. freq is an int that gives the\n    number of periods per cycle. E.g., 12 for monthly. NaNs are ignored\n    in the mean.\n    '
    return np.array([pd_nanmean(i[i::freq]) for i in range(freq)])

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/seasonal.py seasonal_mean/VarMisuse@22/103 `x`->`i`