columnas individuales de Python Groupby Sum
df.groupby(['A','C'], as_index=False)['B'].sum()
Panicky Pony
df.groupby(['A','C'], as_index=False)['B'].sum()