groupby sum() python code example Example: pandas sum group by df.groupby(['Fiscal_Year','Billing_Group'])['CHARGE_AMT'].sum()