Tool
NumPy
Fast, vectorized numerical computing in Python
Learn NumPy arrays from the ground up — creating, indexing, and reshaping arrays, searching and sorting, ufuncs and broadcasting, random numbers and distributions, and linear algebra.
11
Chapters
23
Hours (estimated)
1
Self-paced
Part-time
About 8 weeks
1 hour a day, 3 days a week
Full-time
About 3 weeks
3 hours a day, 3 days a week
Estimated from 11 chapters (notes, practice, labs, quiz, exercise, and challenge) plus the final exam. Go at your own pace.
Curriculum
11 chapters, each with a tutorial, a live example, a quiz, an exercise, a challenge, and class practice.
- 1
Introduction to NumPy
What NumPy is, why arrays beat Python lists for numbers, and getting started.
- 2
Creating Arrays, Shapes & Data Types
0-D to n-D arrays, helper functions for creating arrays, dimensions, and data types.
- 3
Indexing & Slicing
Accessing elements, negative indexes, 2-D indexing, slices with steps, and selecting rows and columns.
- 4
Copy vs View & Iterating
When arrays share memory, the base attribute, and looping with nditer and ndenumerate.
- 5
Reshape, Join & Split
Changing an array's shape, flattening, joining arrays with concatenate and stack, and splitting them.
- 6
Search, Sort & Filter
Finding values with where and searchsorted, sorting, boolean filtering, and set operations.
- 7
Ufuncs & Broadcasting
Universal functions, arithmetic, rounding and logs, creating your own ufuncs, and broadcasting rules.
- 8
Aggregations & Math Functions
sum, prod, mean, min/max across axes, cumulative sums, differences, LCM/GCD, and trigonometry.
- 9
Random Numbers
Pseudo-random numbers, random integers and floats, choosing from data, seeds, and shuffling.
- 10
Random Distributions
Normal, binomial, Poisson, uniform, and other distributions — and when each describes real data.
- 11
Linear Algebra Basics
Dot products, matrix multiplication, transposes, identity and inverse matrices, and solving equations.
NumPy is free to study, self-paced. Pass the final exam to earn an optional Certificate of Completion for $40.