NumPy
- Category
- Frameworks and libraries
- Latest
- 2.5.4
- Released
- Oct 10, 2026
- Docs outline
- 16 sections
Official docs outline
numpy.org- What is NumPy
The ndarray, vectorization benefits, and why NumPy arrays are faster than Python lists.
- Absolute Basics for Beginners
Creating arrays, shape, size, ndim, reshape, basic operations, and array attributes.
- Quickstart
Array creation, printing, basic operations, universal functions, indexing, slicing, iterating, shape manipulation, and stacking.
- Array Creation
np.array, zeros, ones, arange, linspace, random generators, and creating arrays from files.
- Indexing on ndarrays
Basic slicing, integer and boolean indexing, advanced indexing, and fancy indexing assignment.
- Data Types
dtype, type casting, integer overflow, floating point precision, and array scalars.
- Broadcasting
Broadcasting rules, shape compatibility, and vectorized operations across differing shapes.
- Copies and Views
View versus copy semantics, base attribute, and when slicing shares memory.
- Universal Functions
ufuncs, element-wise operations, reductions, accumulate, where and out parameters.
- Structured Arrays
Structured dtypes, record arrays, field access, and heterogeneous data.
- Strings and Bytes Arrays
Unicode and byte string dtypes, StringDType, and the np.strings functions.
- I/O with NumPy
Loading and saving text and binary data, genfromtxt, save, load, and memory mapping.
- Interoperability
Array protocols, buffer protocol, DLPack, __array_function__, and working with other array libraries.
- Writing Performant Code
Multi-core threading, avoiding Python loops, and parallel performance considerations.
- NumPy for MATLAB Users
Mapping MATLAB idioms to NumPy, array versus matrix semantics, and indexing differences.
- How-Tos
Task-oriented recipes such as reading CSV data, masking, and writing a NumPy-based tool.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.
Versions and support
6 release lines| Line | Released | Latest | Support |
|---|---|---|---|
| 2.5 | Jun 21, 2026 | 2.5.4 | Until Jun 22, 2028 |
| 2.4 | Dec 20, 2025 | 2.4.6 | Until Dec 21, 2027 |
| 2.3 | Jun 7, 2025 | 2.3.5 | Until Jun 8, 2027 |
| 2.2 | Dec 8, 2024 | 2.2.6 | Until Dec 9, 2026 |
| 2.1 | Aug 18, 2024 | 2.1.3 | Ended Aug 19, 2026 |
| 2.0 | Jun 16, 2024 | 2.0.2 | Ended Jun 17, 2026 |
Source: endoflife.date