def month_plot(x, dates=None, ylabel=None, ax=None):
    from pandas import DataFrame

    if dates is None:
        from statsmodels.tools.data import _check_period_index
        _check_period_index(x, freq="M")
    else:
        from pandas import Series, PeriodIndex
        x = Series(x, index=PeriodIndex(dates, freq="M"))

    xticklabels = ['j','f','m','a','m','j','j','a','s','o','n','d']
    return seasonal_plot(x.groupby(lambda y : y.month), xticklabels,
                         ylabel=ylabel, ax=ax)
Seasonal plot of monthly data
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/graphics/tsaplots.py/month_plot