how to calculate quantiles in a pandas multiindex dataframe?,"df.groupby(level=[0, 1]).median()"