how do i sum values in a column that match a given condition using pandas?,"df.loc[df['a'] == 1, 'b'].sum()"