How can I generalize my pandas data grouping to more than 3 dimensions?,"df2.xs('b', axis=1, level=1)"