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