Python for data analysts

46 levels in 8 chapters

Learn Python and pandas for data analysis: from first variables to groupby, merges and cleaning messy data, run in your browser.

By the end you can load, filter, group, merge and clean real tables in pandas, and explain every step to the person who asked. Every level is open; the path only suggests an order.

Chapter 1 · 5 levels

Python basics

5 lanterns to light

Chapter 2 · 6 levels

Lists, dictionaries and loops

6 lanterns to light

Chapter 3 · 5 levels

Functions

5 lanterns to light

Chapter 4 · 6 levels

pandas first look

6 lanterns to light

Chapter 5 · 6 levels

Filtering and sorting

6 lanterns to light

Chapter 6 · 6 levels

New columns, groupby and aggregation

6 lanterns to light

Chapter 7 · 6 levels

Merging tables

6 lanterns to light

Chapter 8 · 6 levels

Cleaning messy data

6 lanterns to light

Megan Collins · Head of Sales

"A customer on the phone is buying two of our table lamps and wants the total before she pays. Can you work it out, shipping included?"

Light the next lantern