LESSON 2.2

Cleaning messy data

31:54·24,950 learners
Tomas BergTomas Berg
Next lesson

In this lesson you will

  • Handle missing values without silently distorting results
  • Remove duplicates and normalise categories
  • Convert columns to the correct dtype

Cleaning is most of the job: missing values, duplicate rows, inconsistent categories, and columns that arrived as strings.

What this lesson covers

  • Handle missing values without silently distorting results
  • Remove duplicates and normalise categories
  • Convert columns to the correct dtype

This lesson sits in pandas Essentials, part of Python for Data Work. It assumes what came before it and leads directly into the next lesson in the module.

UP NEXT

2.3 · groupby and aggregation

11:05

Python for Data Work

33%

Every lesson, searchable to the second.

© 2026 BIBLION

PRIVACY · TERMS · CONTACT