Attempt the question, check the explanation, and continue with similar questions to build confidence before exams.
df.groupby('key')['value'].sum()
df.GROUP BY('key').sum('value')
df.groupby('key').sum('value')
df.GROUP BY('key')['value'].aggregate(sum)
Video Explanation
Watch Video Solution
Login to get access
Continue with nearby questions to strengthen the same chapter concept while you still have the context fresh in mind.