Concept Flow - groupby() basics
Start with DataFrame
Choose column(s) to group by
Split data into groups
Apply aggregation or function to each group
Combine results into new DataFrame or Series
Output grouped result
The groupby() process splits data by chosen columns, applies a function to each group, then combines the results.