Skip to main content
Loading page…
Python Mastery
Chapter 41
Lesson 3 of 5
Cleaning & Transforming
Contents
Notes
Tutor
Concept
Missing Data: The Three-Step Workflow
Loading activity…
Previous
1 / 8
Continue
Contents
Notes
Discussion
Tutor
30 min
8 activities
0 of 8 done
In this lesson
1
Missing Data: The Three-Step Workflow
2
Duplicates, Type Casting, and String Operations
3
apply, map, and assign
4
Binning Continuous Data with cut and qcut
5
Practice: Clean a Dirty Dataset
6
fillna vs dropna: When to Use Each
7
Cleaning Method Quiz
8
Performance Gotcha: apply(axis=1) is Slow
Objectives
Learner can detect and handle missing values with isna, fillna, and dropna
Learner can find and remove duplicate rows
Learner can convert column dtypes with astype and pd.to_numeric / pd.to_datetime
Learner can apply string operations with the .str accessor
Learner can transform columns with apply, map, and assign
Learner can bin continuous data with cut and qcut
Learner can use the category dtype to save memory and gain ordering
Chapter 41 · Pandas: Real-World Data Analysis
Series & DataFrame
Loading & Selecting Data
Cleaning & Transforming
GroupBy, Aggregation & Merge
A Real Mini-Analysis
Previous: Loading & Selecting Data
Next: GroupBy, Aggregation & Merge