Groupby Indexes Not Showing Correctly on Webpage

Hey guys.
Im running the lastest Streamlit version.
I have a Pandas Dataframe with datetime column
When I use pd.groupby, the table is always showing the year both in the Year and Month Index
Before (streamlit == 0.81.1) it was fine

This is the code:

df.groupby(df.Date.dt.year, df.Date.dt.month).agg(Total=(‘To_sum’, ‘sum’)

Screen Shot 2021-11-07 at 21.44.09

Any clues what Im doing wrong?
Like I said, in previous versions of streamlit the indexes showed up OK.
Thanks for your help