Lesson 2.2

Cleaning messy data

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

Duration
32m
Level
Beginner
Students
25k students

Overview

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

In this lesson you will:

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

Resources

pandas documentation

The official reference for the tools used in this lesson.