Instruction: Describe what 'groupby' does and give an example of how it might be used.
Context: This question is designed to test the candidate’s understanding of data aggregation techniques in Pandas, which are essential for summarizing data efficiently.
easy
easy
medium
medium
medium