Lessons
Your path, one small batch at a time. Your progress is saved on this device.
0days
Streak freeze ready
- M
- T
- W
- T
- F
- S
- S, today
Next: Lesson 1 · Values and variables0 of 140 lessons done · 0 XP
Start lesson 1Course 1Python Foundations
From a first line of code to analyzing a small dataset.24 lessons · about 236 minutes
Python Foundations
From a first line of code to analyzing a small dataset.24 lessons · about 236 minutes- StartValues and variablesLesson 1 · 9 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Numbers and expressionsLesson 2 · 9 minBuildStep throughFill gapsFind the bugWrite code
- TextLesson 3 · 12 minFill gapsBuildExploreFind the bugWrite code
- Working with textLesson 4 · 11 minBuildStep throughFind the bugExploreFill gapsWrite code
- DecisionsLesson 5 · 10 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Combining conditionsLesson 6 · 10 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- ListsLesson 7 · 12 minBuildExploreStep throughFill gapsFind the bugWrite code
- More with listsLesson 8 · 11 minBuildExploreStep throughFind the bugFill gapsWrite code
- For loopsLesson 9 · 10 minBuildPut in orderFill gapsFind the bugStep throughWrite code
- Loop patternsLesson 10 · 10 minBuildStep throughFill gapsFind the bugWrite code
- While loops and patternsLesson 11 · 10 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- Stopping earlyLesson 12 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Converting and formattingLesson 13 · 8 minBuildFind the bugFill gapsStep throughPut in orderWrite code
- List comprehensionsLesson 14 · 9 minStep throughFill gapsFind the bugBuildWrite code
- FunctionsLesson 15 · 9 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- More about functionsLesson 16 · 10 minBuildFind the bugFill gapsStep throughWrite code
- When code goes wrongLesson 17 · 10 minFind the bugBuildStep throughFill gapsWrite code
- DictionariesLesson 18 · 9 minBuildFind the bugStep throughFill gapsWrite code
- In, and setsLesson 19 · 8 minBuildFind the bugStep throughFill gapsPut in orderWrite code
- Nested dataLesson 20 · 10 minBuildStep throughFind the bugFill gapsWrite code
- Reading data from textLesson 21 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Objects and classesLesson 22 · 10 minBuildFind the bugStep throughFill gapsPut in orderWrite code
- Project: count the wordsLesson 23 · 11 minBuildStep throughFill gapsFind the bugWrite code
- Project: analyze a small datasetLesson 24 · 12 minBuildWrite codeStep throughFill gapsFind the bug
Course 2Functions and Clean Code
Write functions you can trust, test them, and build a secret-code project.12 lessons · about 96 minutes
Functions and Clean Code
Write functions you can trust, test them, and build a secret-code project.12 lessons · about 96 minutes- Return early, return clearlyLesson 25 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Where names liveLesson 26 · 8 minBuildStep throughFind the bugFill gapsWrite code
- Functions that change listsLesson 27 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Testing with assertLesson 28 · 8 minBuildFind the bugStep throughFill gapsPut in orderWrite code
- Edge cases and bad inputLesson 29 · 8 minBuildFind the bugStep throughFill gapsPut in orderWrite code
- Finding the bugLesson 30 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Functions as valuesLesson 31 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Small helpers, one pipelineLesson 32 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Project: shift one letterLesson 33 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Project: encode a messageLesson 34 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Project: crack the codeLesson 35 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Checking AI-written codeLesson 36 · 8 minBuildFind the bugStep throughFill gapsPut in orderWrite code
Course 3Python for Data
Work with whole tables of numbers at once using NumPy.11 lessons · about 108 minutes
Python for Data
Work with whole tables of numbers at once using NumPy.11 lessons · about 108 minutes- From lists to arraysLesson 37 · 11 minBuildExploreFind the bugFill gapsWrite code
- Making arraysLesson 38 · 10 minBuildFind the bugExploreFill gapsWrite code
- Math on whole arraysLesson 39 · 10 minBuildExploreFind the bugFill gapsWrite code
- Rows, columns and the dot productLesson 40 · 10 minStep throughBuildFill gapsFind the bugWrite code
- Selecting dataLesson 41 · 11 minBuildExploreFind the bugFill gapsWrite code
- Summarizing dataLesson 42 · 11 minExploreBuildFind the bugFill gapsWrite code
- Sort and rankLesson 43 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Group and compareLesson 44 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Cleaning dataLesson 45 · 10 minBuildFill gapsFind the bugExploreWrite code
- Spot a relationshipLesson 46 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Project: a year of weatherLesson 47 · 11 minExploreFill gapsFind the bugBuildWrite code
Course 4Data Analysis with pandas
Load, clean, group and join real tables with pandas, then turn them into charts with matplotlib.13 lessons · about 104 minutes
Data Analysis with pandas
Load, clean, group and join real tables with pandas, then turn them into charts with matplotlib.13 lessons · about 104 minutes- Tables with pandasLesson 48 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Filter rowsLesson 49 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- Sort and find the topLesson 50 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- Make new columnsLesson 51 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Group and summarizeLesson 52 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Clean messy dataLesson 53 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- Join two tablesLesson 54 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- Read a CSV fileLesson 55 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- Your first chartLesson 56 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- Bar charts that compareLesson 57 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- Scatter plots and histogramsLesson 58 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- Charts straight from a tableLesson 59 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
- Project: a café's salesLesson 60 · 8 minBuildFill gapsFind the bugPut in orderWrite code
Course 5SQL with Python
Keep tables in a SQLite database, ask them questions with SELECT, WHERE, GROUP BY and JOIN, and bring the answers into pandas.9 lessons · about 72 minutes
SQL with Python
Keep tables in a SQLite database, ask them questions with SELECT, WHERE, GROUP BY and JOIN, and bring the answers into pandas.9 lessons · about 72 minutes- Your first queryLesson 61 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Pick rows with WHERELesson 62 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Safe values with ?Lesson 63 · 8 minBuildFind the bugFill gapsStep throughPut in orderWrite code
- Sort, trim and dedupeLesson 64 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Count, sum and groupLesson 65 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Join two tablesLesson 66 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Change and delete rowsLesson 67 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- SQL meets pandasLesson 68 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Project: a shop's databaseLesson 69 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
Course 6Machine Learning from Scratch
Build a model by hand, then teach a computer to improve it.15 lessons · about 153 minutes
Machine Learning from Scratch
Build a model by hand, then teach a computer to improve it.15 lessons · about 153 minutes- What a model isLesson 70 · 10 minExploreBuildFill gapsFind the bugWrite code
- Measuring errorLesson 71 · 10 minStep throughExploreFind the bugFill gapsBuildWrite code
- Gradient descentLesson 72 · 12 minExploreBuildStep throughFind the bugWrite code
- Training linear regressionLesson 73 · 11 minExploreBuildStep throughFill gapsFind the bugWrite code
- More than one inputLesson 74 · 11 minFill gapsFind the bugStep throughExploreBuildWrite code
- OverfittingLesson 75 · 10 minFind the bugStep throughExploreFill gapsBuildWrite code
- ClassificationLesson 76 · 11 minFind the bugBuildExploreFill gapsWrite code
- Is the classifier any good?Lesson 77 · 10 minStep throughBuildFind the bugFill gapsWrite code
- A single neuronLesson 78 · 11 minExploreBuildFind the bugFill gapsWrite code
- Decision boundariesLesson 79 · 10 minExploreBuildStep throughFind the bugFill gapsWrite code
- Training a classifierLesson 80 · 10 minStep throughFind the bugBuildFill gapsExploreWrite code
- A small neural networkLesson 81 · 10 minBuildStep throughFind the bugFill gapsWrite code
- Bending the lineLesson 82 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- A network that reads shapesLesson 83 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Project: from data to a modelLesson 84 · 11 minBuildFill gapsFind the bugWrite code
Course 7Machine Learning with scikit-learn
Train, test and compare real models with scikit-learn, the library behind most machine learning in Python.9 lessons · about 72 minutes
Machine Learning with scikit-learn
Train, test and compare real models with scikit-learn, the library behind most machine learning in Python.9 lessons · about 72 minutes- Your first scikit-learn modelLesson 85 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Train and test setsLesson 86 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Score a modelLesson 87 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- ClassifiersLesson 88 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Decision treesLesson 89 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Scaling and pipelinesLesson 90 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Cross-validationLesson 91 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Mistakes and thresholdsLesson 92 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Project: who will cancel?Lesson 93 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
Course 8How AI Works
What a chatbot is really doing, from guessing the next word to building a small language model in Python.13 lessons · about 109 minutes
How AI Works
What a chatbot is really doing, from guessing the next word to building a small language model in Python.13 lessons · about 109 minutes- Guessing the next wordLesson 94 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- More context, better guessesLesson 95 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- TemperatureLesson 96 · 10 minExploreBuildStep throughFind the bugFill gapsWrite code
- Learning from surpriseLesson 97 · 8 minBuildFind the bugFill gapsPut in orderWrite code
- Tokens, not wordsLesson 98 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Pieces of wordsLesson 99 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- From counting to learningLesson 100 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Images are numbersLesson 101 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Reading digitsLesson 102 · 9 minExploreBuildStep throughFind the bugFill gapsWrite code
- A map of meaningLesson 103 · 10 minBuildStep throughExploreFind the bugFill gapsWrite code
- Counting what followsLesson 104 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Chances from bigramsLesson 105 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Project: build a language modelLesson 106 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
Course 9Build with AI
Build apps on top of language models in plain Python: prompts, chat history, JSON replies, search, retrieval, tools, agents and evals.12 lessons · about 96 minutes
Build with AI
Build apps on top of language models in plain Python: prompts, chat history, JSON replies, search, retrieval, tools, agents and evals.12 lessons · about 96 minutes- Prompts are stringsLesson 107 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Count tokens, count costsLesson 108 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Remember the conversationLesson 109 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Ask for JSONLesson 110 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Text as vectorsLesson 111 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Search by similarityLesson 112 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Split long documentsLesson 113 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Look it up, then answerLesson 114 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Let the model use toolsLesson 115 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- The agent loopLesson 116 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Test the answersLesson 117 · 8 minBuildStep throughFill gapsFind the bugPut in orderWrite code
- Project: a help-desk botLesson 118 · 8 minBuildFill gapsFind the bugStep throughPut in orderWrite code
Course 10Algorithms
Recursion, counting steps, searching and sorting, and proving your code is right.10 lessons · about 89 minutes
Algorithms
Recursion, counting steps, searching and sorting, and proving your code is right.10 lessons · about 89 minutes- Functions that call themselvesLesson 119 · 9 minBuildStep throughFill gapsPut in orderWrite code
- The call stackLesson 120 · 10 minExploreStep throughFind the bugFill gapsWrite code
- Counting stepsLesson 121 · 9 minBuildStep throughExploreFind the bugFill gapsWrite code
- Big-OLesson 122 · 10 minBuildExploreStep throughFill gapsPut in orderWrite code
- Linear and binary searchLesson 123 · 9 minExploreBuildStep throughFind the bugFill gapsWrite code
- Binary search in codeLesson 124 · 9 minExploreStep throughFind the bugFill gapsPut in orderWrite code
- Sorting by handLesson 125 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Merge sortLesson 126 · 9 minExploreStep throughFind the bugFill gapsPut in orderWrite code
- Hidden costsLesson 127 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Proving it worksLesson 128 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
Course 11Data Structures and Objects
Design your own classes, then build stacks, linked lists, hash tables and trees, and see how each one stores data.12 lessons · about 108 minutes
Data Structures and Objects
Design your own classes, then build stacks, linked lists, hash tables and trees, and see how each one stores data.12 lessons · about 108 minutes- Designing a classLesson 129 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Objects inside objectsLesson 130 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- A word predictor classLesson 131 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Names point to objectsLesson 132 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- How a list is storedLesson 133 · 10 minExploreBuildStep throughFind the bugFill gapsPut in orderWrite code
- Stacks and queuesLesson 134 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Linked listsLesson 135 · 10 minExploreBuildStep throughFind the bugFill gapsPut in orderWrite code
- Changing a linked listLesson 136 · 10 minExploreBuildStep throughFind the bugFill gapsPut in orderWrite code
- How a dictionary finds thingsLesson 137 · 8 minBuildStep throughFind the bugFill gapsPut in orderWrite code
- Keeping a list sortedLesson 138 · 10 minExploreBuildStep throughFind the bugFill gapsPut in orderWrite code
- Binary search treesLesson 139 · 10 minExploreBuildStep throughFind the bugFill gapsPut in orderWrite code
- Walking and balancing treesLesson 140 · 10 minBuildStep throughExploreFind the bugFill gapsPut in orderWrite code