NumPy
Learn NumPy, the array library under almost all Python data science: creating arrays, indexing, vectorised maths, statistics and reshaping. Runs in your browser.
- 2 modules
- 10 lessons
- 54 runnable examples
- Intermediate
Arrays
Creating and inspecting arrays.
Computing
Maths without loops.
NumPy quiz
Ten questions drawn at random from 29, with an explanation after every answer. Score 70% to pass; a perfect round earns a badge.
- Treasure Quest
Sail across eight islands. Each one asks a question; lose three hearts and it's back to port.
- Speed Run
Sixty seconds on the clock. Every right answer scores, and a wrong one costs five seconds.
- Code Puzzle
Real code from the lessons, shuffled line by line. Put it back in the right order.