Take the following code:
df = pd.DataFrame([range(5),range(5),range(5),range(5)], columns=range('a','e'))
df.set_index(['a','b','c','d'])
subselection = df[0, 2]
The second line of code is supposed to fetch the sub-dataframe according to the first level index and second level index.
This doesn't work for me. How do I do it?