Github Sidetable

df.groupby(['sex', 'class']).agg({'fare': ['sum']}).stb.subtotal()
Nice Nightingale