python groupby jumlah kolom tunggal

df.groupby(['A','C'], as_index=False)['B'].sum()
Panicky Pony