A code that worked fine two years ago doesn\'t work anymore. I have a dataframe df which has a Multiindex (two different row indexes). I select the rows with th
df