What is the purpose of the groupby() function in Pandas?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks what the pandas groupby function is for and how it is used on a DataFrame. Tests the split-apply-combine idea, the kinds of grouping keys including time bins, the operations available on groups, and the options that control how keys and missing values appear.