joining rows based on value conditions,"df.groupby(['year', 'bread'])['amount'].sum().reset_index()"