Write professional Python
Use Python as a general-purpose language: the core language, the standard library, object-oriented programming, testing, tooling and Pythonic idioms.
You need a computer with macOS, Windows or Linux and an internet connection for the installation. You do not need any prior knowledge of statistics or machine learning.
Write professional Python
Use Python as a general-purpose language: the core language, the standard library, object-oriented programming, testing, tooling and Pythonic idioms.
Analyse data
Do professional data analysis with NumPy, pandas, Polars, SQL, statistics and visualization.
Build and ship models
Build, evaluate, tune, explain and ship machine learning models with scikit-learn, gradient boosting and PyTorch.
Each module teaches one topic through data science and machine learning tasks: sensor readings, customer records, sales tables. Each lesson also shows where the skill is used outside data science, for example in web development, automation and scripting.
Lessons with worked examples
Concepts first, then at least five worked examples per module. Each example solves a realistic task in small steps, with code and its real output.
25+ exercises per module
Warm-up, core and challenge exercises. Each has an expected output, starter code, hints and a full, tested solution.
Mini-projects
One project per module combines its skills, with a step plan, a rubric and a reference solution.
Cheat sheets
A quick reference for every module, plus a master cheat sheet for Python, OOP, data, ML and decision guides.
Checkpoints
Mixed exercises at the end of each Part and a rubric that tells you when you are ready for the next Part.
Capstones
Eight full projects, from a command-line tool to a deployed model, with milestones and grading rubrics.
The Parts build on each other. Part 4 needs Part 1 and two modules of Part 2. Part 5 needs Parts 3 and 4.
flowchart TB S["Start here"] --> P1["Part 1: Foundations"] P1 --> P2["Part 2: Advanced Python"] P2 --> P3["Part 3: OOP"] P1 --> P4["Part 4: Data analysis"] P2 -.->|"modules 10 and 13"| P4 P3 --> P5["Part 5: Machine learning"] P4 --> P5 P5 --> P6["Part 6: Math, stats & DSA deep dive"] P3 --> C1["Capstone 1"] P4 --> C2["Capstone 2"] P5 --> C3["Capstones 3–8"]
Each module has a lesson, exercises, a mini-project and a cheat sheet. The links below open the lesson.
The core language: values, text, control flow, data structures, functions, errors, files, packages and the standard library.
Generators, decorators, type hints, Pythonic style, testing, performance, web APIs and algorithms.
Classes, inheritance, the data model, dataclasses and design patterns. You build minilearn, a tiny scikit-learn-like library.
NumPy, pandas, data cleaning, EDA, charts, statistics, SQL and Polars.
The math, feature engineering, scikit-learn, classic models, tuning, unsupervised learning, time series, NLP, PyTorch, interpretability and deployment.
Advanced algorithms and ML data structures, linear algebra in depth, calculus and optimization (including reverse-mode autograd), Bayesian statistics and information theory, and causal inference, GLMs and survival analysis.
Eight end-to-end projects. Each has a brief, a dataset, milestones, a grading rubric and a reference solution.
A learning path is an ordered list of modules for one goal. Pick the path that fits you and follow it from top to bottom. If you are not sure, do the whole course in order: it covers all three paths. Everyone starts with Start here.
Python developer. You want to write general-purpose Python: scripts, automation, tools, back-end code and tested libraries.
Do the checkpoints of Parts 1, 2 and 3. Then build this capstone:
Data analyst. You want to clean, explore and chart data, query databases and report findings backed by statistics.
Do the checkpoints of Parts 1 and 4. Then build this capstone:
ML engineer. You want to build, evaluate, tune, explain and ship machine learning models.
Do the checkpoints of Parts 1 to 5. Then build these capstones:
Each path is a minimum. You can add any other module at any time; the prerequisites at the top of each lesson tell you what it assumes. To learn how to work through a module, read How to study.