SyntaxFix
Write A Post
Hire A Developer
Questions
df.groupby(['Fruit','Name'])['Number'].sum()
You can select different columns to sum numbers.