Beginner question. This seems like it should be a straightforward operation, but I can\'t figure it out from reading the docs.
I have a df with this structure:
You just need to call sum on a groupby object:
sum
groupby
df.groupby('integer_id').sum()
See the docs for further examples