Use index in pandas to plot data,"monthly_mean.reset_index().plot(x='index', y='A')"