382 exercises.
Every one of them graded.
Each challenge is a small task with a checker behind it — you write the code, press Check, and it compares what you produced against the answer. Nothing is graded on the text of your code, so there is always more than one way to be right.
NumPy
0/104Arrays, shapes and broadcasting — the layer everything else is built on.
Return the shape of cupsBuild an array from [1, 2, 3] forced to float64, then return its dtype to prove…How many bytes does a take up in totalMake a (2, 5) array of zeros with dtype intUse np.arange to make [10, 20, 30, 40, 50]
All 104 NumPy challengesfrom 28 lessons
pandas
0/109Labelled data: indexes, filtering, and split-apply-combine.
Select just the cups column, as a SeriesNow select cups and revenue together, as a DataFrame with those two columns in…Return the number of rows in df as a plain integerAdd pd.Series([1, 2], index=["x", "y"]) to pd.Series([10, 20], index=["y", "z"]…Same two Series, but treat a missing label as 0 so nothing comes back NaN
All 109 pandas challengesfrom 28 lessons
Matplotlib
0/62Figures, axes and artists — what actually draws your chart.
Create a figure and axes with plt.subplots(), and return the type name of the f…Make a figure with four Axes in a 2×2 grid, and return how many Axes the figure…Plot delhi against days and return the type name of the artist that ax.plot() h…Make a figure with two side-by-side AxesRewrite this in the object API, then return the title you set:plt.plot(days, de…
All 62 Matplotlib challengesfrom 20 lessons
Machine Learning
0/107The core ideas, made visible — with scikit-learn.
Return the shapes of the feature matrix and the target as a list: [list(X.shape…How often is a delivery actually lateWhich weather is worstThe classification target is derived from the regression oneBuild a LogisticRegression and do not fit it
All 107 Machine Learning challengesfrom 35 lessons
Solving a challenge here marks it solved in its lesson too — it is the same exercise, and 382 of them exist in total. If a task makes no sense on its own, the lesson that teaches it is linked from every challenge page.