Let's say i have a Dataframe with columns as Multiindex. For example:
a = pd.DataFrame(index=range(10),
columns=pd.MultiIndex.from_product(
iterables=[['2000', '2010'], ['a', 'b']],
names=['Year', 'Text']),
data=np.random.randn(10,4))
I'd like to make a boxplot that groups by the Year. Like the hue arg on seaborn boxplots.
I wondered if there was an easy way to achieve that in either pandas/seaborn/matplotlib.
I feel an unstacking could do the trick but I can't get it to work.

