NumPy reference#
- Release:
2.1
- Date:
August 19, 2024
This reference manual details functions, modules, and objects included in NumPy, describing what they are and what they do. For learning how to use NumPy, see the complete documentation.
Python API#
- Routines and objects by topic
- Constants
- Array creation routines
- Array manipulation routines
- Bit-wise operations
- String functionality
- Datetime support functions
- Data type routines
- Mathematical functions with automatic domain
- Floating point error handling
- Exceptions and Warnings (
numpy.exceptions
) - Discrete Fourier Transform (
numpy.fft
) - Functional programming
- Input and output
- Indexing routines
- Linear algebra (
numpy.linalg
) - Logic functions
- Masked array operations
- Mathematical functions
- Miscellaneous routines
- Polynomials
- Random sampling (
numpy.random
) - Set routines
- Sorting, searching, and counting
- Statistics
- Test support (
numpy.testing
) - Window functions
C API#
Other topics#
Acknowledgements#
Large parts of this manual originate from Travis E. Oliphant’s book Guide to NumPy (which generously entered Public Domain in August 2008). The reference documentation for many of the functions are written by numerous contributors and developers of NumPy.