def mean_monthly(daily):
    """Compute monthly mean for the regime curve."""
    import calendar
    d = dict(enumerate(calendar.month_abbr))
    mean_month = daily.groupby(daily.index.month).mean()
    mean_month.index = mean_month.index.map(d)
    return mean_month
