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