pandas GroupBy: Grouping Real World Data in Python - Real Python
Briefly

Whether you've just started working with pandas and want to master one of its core capabilities, or you're looking to fill in some gaps in your understanding about .groupby(), this course will help you to break down and visualize a pandas GroupBy operation from start to finish.
In this course, you'll cover how to use pandas GroupBy operations on real-world data, understand the split-apply-combine chain of operations, decompose the chain into steps, and categorize GroupBy object methods based on intent and result.
Read at Realpython
[
|
]