Data Tools · Module 2
pandas
Take each lesson, answer its quiz, then do its practice. After the last lesson come the module quiz, the project and the interview questions.
Lessons
- 2.1Meet pandasSay what a DataFrame is and why tabular data gets its own library, by loading one real file and asking it a question.
- 2.2Series and DataFramesHold a table with named columns and an index.
- 2.3Selecting and FilteringGet the rows and columns you need.
- 2.4Cleaning DataFix types, missing values and duplicates.
- 2.5groupby and AggregationSplit, apply, combine: statistics per group.
- 2.6Merging, Joining and ReshapingCombine tables and change their shape.
- 2.7Dates and Time Series in pandasParse dates and resample time series.
Module material
Take these after the last lesson, in this order. Next on each page leads through them.
- Module quiz11 questions across the whole module. Take it after the last lesson; your first pick on each question is the one that counts.
- PracticeStated as a problem, with no template and no step-by-step instructions. Working out the steps is the point.
- NotebooksOpen them in Google Colab. Each answer is checked as you go: correct, wrong with the expected value, or not answered yet.
- Common mistakesWhat you see when it goes wrong, why it happens, and the fix, across the whole module.
- Cheat sheetSelecting, filtering, sorting, grouping, merging and reshaping a table with pandas: each question, the expression that answers it, and how to read the result. Free to read and share, no account needed.
- Interview questions9 questions interviewers ask on pandas, from first principles to the follow-ups. The first 3 model answers are free to read; Pro opens the rest.