New to Python
Begin with variables, lists, and dictionaries. Build your first table one step at a time.
Start from the beginningLearn pandas from Python dictionaries to complete data analysis. Predict a result, run the code, change something, and explain what happened.
Begin with variables, lists, and dictionaries. Build your first table one step at a time.
Start from the beginningStart with tables and familiar operations, then explore indexes, grouping, and files.
Start with DataFramesExplore pandas behavior: labels, selection, missing data, joins, and grouped calculations.
Start with SeriesFind a short example, a common mistake, and a link to the full explanation.
Open the referenceEach lesson includes a small example, three questions, a change to make, a hint, a worked solution, and a code check. Follow the guided path or switch a lesson to Quick reference.
Written explanations matter. A successful code check shows that the programmed requirements passed; use the independent assessment and its rubric to examine understanding on unfamiliar data.
Move in order or use a module's prerequisites to choose where to begin.
Read the small amount of Python needed to begin the pandas lessons.
4 learning cells · questions, practice & solutions01 · FoundationRead, access, and change named values in a Python dictionary.
4 learning cells · questions, practice & solutions02 · FoundationRepresent several records with lists and dictionaries before building a table.
4 learning cells · questions, practice & solutions03 · FoundationCreate a labeled column and explain positions, labels, and arithmetic.
4 learning cells · questions, practice & solutions04 · FoundationTurn Python data into a table and inspect its structure before analysis.
4 learning cells · questions, practice & solutions05 · FoundationChoose rows, columns, and individual cells using labels and positions.
4 learning cells · questions, practice & solutions06 · CoreBuild Boolean masks and combine conditions to answer precise questions.
4 learning cells · questions, practice & solutions07 · CoreOrder records deliberately and control which labels identify rows.
4 learning cells · questions, practice & solutions08 · CoreCalculate new fields, tidy column names, and change selected values safely.
4 learning cells · questions, practice & solutions09 · CoreChoose a useful data type and identify values that cannot be converted.
4 learning cells · questions, practice & solutions10 · CoreFind missing entries and choose a treatment that fits the question.
4 learning cells · questions, practice & solutions11 · CoreFind repeated records and validate IDs, ranges, and allowed labels.
4 learning cells · questions, practice & solutions12 · CoreStandardize labels and extract useful pieces from text columns.
4 learning cells · questions, practice & solutions13 · CoreParse dates explicitly and use calendar-aware operations.
4 learning cells · questions, practice & solutions14 · CoreChoose an appropriate way to transform values and create categories.
4 learning cells · questions, practice & solutions15 · CoreSummarize center, spread, completeness, and association with clear interpretations.
4 learning cells · questions, practice & solutions16 · CoreDistinguish group summaries, row-aligned transformations, and group filters.
4 learning cells · questions, practice & solutions17 · CoreConnect tables by a key and audit which records matched.
4 learning cells · questions, practice & solutions18 · CoreCombine rows or columns while respecting index labels.
4 learning cells · questions, practice & solutions19 · CoreMove between long and wide layouts and choose when to aggregate.
4 learning cells · questions, practice & solutions20 · CoreMove data between pandas and common local file formats.
4 learning cells · questions, practice & solutions21 · ExtensionDistinguish calendar dates, observed records, windows, and changes over time.
4 learning cells · questions, practice & solutions22 · ExtensionUse multiple index levels, list-valued columns, and categorical encodings.
4 learning cells · questions, practice & solutions23 · ExtensionRead less data, combine chunk summaries correctly, and make repeatable samples.
4 learning cells · questions, practice & solutions24 · CoreSelect a plot that answers a clear question and label its units.
4 learning cells · questions, practice & solutions25 · ApplyFind the reason a pandas result is wrong, then repair it.
4 learning cells · questions, practice & solutions26 · ApplyClean, audit, summarize, visualize, and export a small dataset with an explanation of every choice.
4 learning cells · questions, practice & solutions27 · ExtensionChoose explicit parsing rules, preserve identifiers, and verify imported records.
4 learning cells · questions, practice & solutions28 · ExtensionRead worksheets and JSON structures without changing the underlying observations.
4 learning cells · questions, practice & solutions29 · ApplyProduce a traceable descriptive analysis with justified exclusions and visible denominators.
4 learning cells · questions, practice & solutions