Python & data foundations
Progress from your first program to conditions, functions, named records, validation, and a complete CSV analysis project.
0 of 9 lessons completed
- 01○
Your first Python program: input, variables, and output
Build a tiny calculator and learn to read what each line does.
- 02○
Python lists vs tuples: when does the difference matter?
A practical guide to mutability, ordering, and choosing the right container in everyday code.
- 03○
Read a CSV in Python without losing track of your data
Load a small file, inspect its columns, and handle the two common surprises: delimiters and missing values.
- 04○
Mean or median? A five-number example with an outlier
See why one unusual value can shift the average and how to choose a useful summary.
- 05○
Conditions and loops: turn a data rule into a repeatable check
Trace an if statement, filter a list, and catch boundary errors before they change your result.
- 06○
Functions and small tests: make a calculation reusable
Separate inputs, return values, and display, then verify a function with cases you can calculate by hand.
- 07○
Dictionaries and records: give your data fields names
Represent observations with named fields, distinguish missing from zero, and build a grouped summary.
- 08○
Validation and errors: reject bad data without hiding the reason
Separate missing, malformed, and out-of-range inputs, then keep an auditable record of rejected rows.
- 09○
Python data capstone: audit a CSV and write a defensible summary
Combine CSV reading, validation, grouping, and statistics in a complete small project with a reconciliation check.