I have a Series object that has:
date price
dec 12
may 15
apr 13
..
Problem statement:
You can add the numerical month value together with the name in the index (i.e "01 January"), do a sort then strip off the number:
total=(df.groupby(df['date'].dt.strftime('%m %B'))['price'].mean()).sort_index()
It may look sth like this:
01 January xxx
02 February yyy
03 March zzz
04 April ttt
total.index = [ x.split()[1] for x in total.index ]
January xxx
February yyy
March zzz
April ttt