NumPy · 14 problems · 1 project ideas
Problem sheet
Beginner
Start with the essentials5 problemsCreate an Array and Inspect It
ndarray · dtype · shape
Vectorised Arithmetic and ufuncs
vectorisation · ufuncs · elementwise
Slicing a Sub-grid
slicing · views · copies
Boolean Masks
boolean-indexing · masks · np.where
Aggregations Along Axes
aggregation · axis · argmax
Intermediate
Connect the concepts5 problemsMatrix Products with @
matmul · matrix-multiplication · shapes
Centering Columns with Broadcasting
broadcasting · standardization · shapes
Reshape and Stack
reshape · stack · concatenate
Fancy Indexing and Gather
fancy-indexing · argsort · gather
Seeded Random Generators
random · reproducibility · synthetic-data
Advanced
Stretch your understanding4 problemsVectorized Pairwise Distances
distances · broadcasting · vectorisation
Solve Linear Systems Safely
linear-algebra · conditioning · least-squares
One-Hot Encoding
one-hot · encoding · labels
Moving Average with cumsum
cumsum · convolution · sliding-window
Project ideas
Ungraded briefs to build on your own1 project ideasPhoto Filters with NumPy
Project idea · images · arrays · broadcasting