Skip to main content
Loading page…
Python Mastery
Chapter 41
Lesson 4 of 5
GroupBy, Aggregation & Merge
Contents
Notes
Tutor
Concept
The Split-Apply-Combine Model
Loading activity…
Previous
1 / 9
Continue
Contents
Notes
Discussion
Tutor
30 min
9 activities
0 of 9 done
In this lesson
1
The Split-Apply-Combine Model
2
groupby + agg in Practice
3
pivot_table and value_counts
4
Merge and Concat: Combining DataFrames
5
Practice: GroupBy + Merge
6
Left vs Inner Join
7
Split-Apply-Combine Steps
8
merge vs concat
9
Gotcha: Forgetting reset_index() After groupby
Objectives
Learner can explain the split-apply-combine model
Learner can use groupby with single and multiple keys
Learner can perform multiple aggregations at once with agg()
Learner can use pivot_table and value_counts
Learner can merge two DataFrames with inner, left, right, and outer joins
Learner can concatenate DataFrames with pd.concat
Chapter 41 · Pandas: Real-World Data Analysis
Series & DataFrame
Loading & Selecting Data
Cleaning & Transforming
GroupBy, Aggregation & Merge
A Real Mini-Analysis
Previous: Cleaning & Transforming
Next: A Real Mini-Analysis