
25 Problems
Pandas Sheet
Master the Pandas library for data analysis. Learn to load, clean, transform, and analyze datasets with the most popular Python data tool.
10 Easy12 Medium3 Hard
Unlock the full study plan
Upgrade to Pro to access the full curriculum.
5 sections
What you will learn
Pandas is the standard Python library for working with tables of data. This plan has 25 problems in five sections, taking you from building and inspecting a DataFrame to cleaning, grouping, merging and reshaping real datasets.
Prerequisites
Basic Python: lists, dictionaries, functions and loops. No prior Pandas experience is needed.
The sections, in order
- Loading and inspecting data: create DataFrames, check shapes and data types, and select columns, heads and tails.
- Indexing and selection: loc versus iloc, boolean indexing, multi-column selection, and setting and resetting the index.
- Data cleaning: missing values, duplicates, renaming, replacing values and changing data types.
- Aggregation and grouping: groupby, aggregation functions, pivot tables, cross tabulation and multi-level grouping.
- Merging and reshaping: merge, concatenate, melt, unstack and custom transforms with apply.
Where to go next
Continue with the NumPy study plan for the array operations Pandas is built on, or the SQL study plan for the same ideas in a database. When you are ready for models, try Cracking ML.