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