groupby in pandas

Опубликовано: 12 Июнь 2026
на канале: Naser Nikandish
339
2

In this video, we explore the groupby() function in pandas - one of the most powerful tools for aggregating and analyzing data by categories. You’ll learn how grouping works conceptually and how to apply aggregation functions to summarize patterns across different groups.

The emphasis is on understanding the split–apply–combine framework and using it effectively for exploratory data analysis and reporting.

Topics covered:
The split–apply–combine concept
Basic groupby() syntax
Applying aggregation functions (sum(), mean(), count(), etc.)
Grouping by multiple columns
Using agg() for multiple aggregations
Common mistakes and best practices

📂 Code examples and learning materials are available on GitHub:
https://github.com/NaserNikandish/Pyt...

📌 Recommended: Familiarity with pandas DataFrames and aggregation functions will be helpful before watching this video.

Naser Nikandish