Skip to main content
PyPath
Home
Courses
Courses
See both
1
Python Foundations
10 units
2
Python for Data
10 units
Sandbox
Classroom
My class
Settings
Start learning
Sign in
My progress
My classroom
Account
Sign out
Courses
·
Python for Data
Unit 2 · Cleaning and Shaping
Missing values, wrong types, duplicates and the order you fix them in.
1
What Dirty Data Looks Like
The four problems you will meet in almost every real file.
2
Missing Values
Find them, then decide between dropping and filling on purpose.
3
Fixing Types
Everything out of a file is text, and text sorts and adds in the wrong way.
4
Removing Duplicates
Deciding what counts as the same row is most of the work.
5
Filtering Rows
Selecting the rows you meant, and noticing how many you dropped.
6
Sorting and Ranking
Order by the value you mean, and remember that sorted returns a new list.