NumPy
arrays, broadcasting, vectorization, and the axis parameter
45 min · interactive lesson with runnable code and 7 graded exercises.
What you'll be able to do
- Create arrays and reason about shape, dtype, reshape
- Index with slices, boolean masks, and integer arrays
- Predict broadcasting results — and errors
- Replace Python loops with vectorized code, and use axis correctly
The full lesson is free with an account.