pandas: create new dataframe that averages duplicates from another dataframe,"df.groupby(level=0, axis=1).mean()"