Choose your character

It shows in the top bar and on your profile. Change it any time.

Courses / Data and analytics tools

pandas

Load, clean and analyze data with Python and pandas in a working notebook, from first steps to expert work.

Start lesson 1Practice interviewTake the assessmentPractice the first unit of every course. No account needed.
85lessons
526checked exercises
15projects, cases and exams
Prepares you for Take-home tasks

Projects, case studies and mock exams

Project · IntermediateCombine three store exports

Turn three differently formatted sales exports into one clean orders table and a product-by-month revenue report.

10 steps · 35 min
Case study · IntermediateRegional targets

Compare monthly revenue with targets by region, handle an incomplete month and a month with no sales, and decide which region needs attention.

8 steps · 25 min
Project · AdvancedA monthly KPI report

Build a month-by-month KPI table from orders, product costs and targets, leave out the incomplete month, and chart revenue against target.

10 steps · 35 min
Case study · AdvancedThe spring promotion

Measure a discount promotion at one store against the weeks before it and against a store that had no promotion, and decide whether it paid off.

7 steps · 30 min
Case study · AdvancedLate deliveries

Measure late deliveries by carrier, warehouse and dispatch day from UTC timestamps, separate two causes, and say what to fix first.

10 steps · 30 min
Project · ExpertCustomer retention by signup month

Clean the membership orders, place every member in a signup-month cohort, and build a retention table that counts members who never ordered and leaves future months empty.

11 steps · 40 min
Project · ExpertA repeatable cleaning pipeline

Turn a weekly supplier feed into clean data with small functions chained by pipe, report every problem in a checks table, and run the same pipeline on next week's file.

8 steps · 40 min
Project · ExpertA web funnel report

Split a web event log into sessions with a 30-minute gap rule, mark which steps each session reached, and report view, cart and purchase rates by device.

9 steps · 35 min
Case study · ExpertWhich products to reprice

Attach the price in effect to each week of sales, compare units at each price level within each product, and find which category loses the most volume when prices rise.

6 steps · 30 min
Case study · ExpertWhat to reorder this week

Work out average daily demand from a sales log that skips days with no sales, compare days of stock with each supplier's lead time, and produce this week's reorder list.

6 steps · 25 min
Mock exam · ExpertBike-share analysis

A take-home exercise as hiring teams set it: a bike-rental dataset, a brief with ten questions, and a 90-minute limit.

10 questions · 90 min
Mock exam · ExpertTimed pandas assessment

Twelve independent questions of the kind online pandas assessments ask, across four datasets, with a 45-minute limit.

12 questions · 45 min

Practice pandas in a notebook that runs real Python in your browser, on realistic datasets from a homeware shop, a bike-rental company and a cafe. Every exercise opens with the data already loaded. You write the code, run the cell with Shift + Enter, and find out at once whether the result is correct, with a specific pointer when it isn't.

The course runs from Beginner to Expert: load and inspect a file, filter and sort, change and summarize columns, then clean messy exports, combine tables, reshape, work with time series, chart, and write fast, checked code. Each unit ends with a practice set on fresh data, and projects, case studies and interview sets put the skills together the way analysts use them at work and in hiring tests.

Beginner

FreeNo account or card needed. Every lesson in this unit is yours to practice.

First look at your data

Load a file, see what is in it, and pick out columns.

5 lessons

Filter and sort

Keep the rows you need with masks, conditions and query, and put them in order.

6 lessons

Change columns and rows

Add, rename, drop and convert columns, and remove duplicate rows.

5 lessons

Summarize

Group, aggregate, pivot and cross-tabulate.

5 lessons

Intermediate

Clean messy data

Missing values, messy text, dates, recoding and bins.

6 lessons

Combine tables

Join tables on keys, stack files, and work with the index.

4 lessons

Functions and files

Run your own functions with map and apply, and read and write CSV, Excel, JSON and Parquet.

4 lessons

Projects and interview practice

Combine messy exports into a report, answer a targets question, and practice first-round interview questions.

3 lessons

Advanced

Reshape

Move between wide and long tables with melt, pivot, stack, unstack and explode.

5 lessons

Group patterns

Group values on every row, keep whole groups, rank, run totals and find the top N per group.

5 lessons

Time series

Resample, rolling and expanding windows, growth rates and time zones.

6 lessons

Types, text and indexes

Ordered categories, MultiIndex selection and regular expressions.

4 lessons

Charts

Line, bar, histogram and box plots with df.plot, labeled so a reader can use them.

4 lessons

Projects and interview practice

Build a monthly KPI report, judge a promotion against a comparison store, find the causes of late deliveries, and practice second-round interview questions.

4 lessons

Expert

Merge edge cases

Joins that multiply rows, validate and indicator, and matching on the latest date with merge_asof.

4 lessons

Performance and style

Replace loops with vectorized code, shrink tables with dtypes, and write readable chains with assign and pipe.

4 lessons

Data quality

Check keys, references and dates before you trust a file, and find outliers with the IQR rule, z-scores and group medians.

3 lessons

Projects, interviews and mock exams

Cohort retention, a reusable cleaning pipeline, a web funnel, pricing and reorder case studies, final-round interview questions and two timed mock exams.

8 lessons

Your Work Gym account

Save your progress and pick up on another device. Your browser's progress comes with you.

We'll email you a link. It works once and expires in 15 minutes.

You can keep practicing without an account.