I have a dataframe and would like to add sums of specific rows into this dataframe. So for example I have
df = pd.DataFrame({\'prod\':[\'a\',\'a\',\'a\',\'b\'