NumPy reference#
- Release:
1.26
- Date:
September 16, 2023
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.
- Array objects
- Array API Standard Compatibility
- Constants
- Universal functions (
ufunc
) - Routines
- Array creation routines
- Array manipulation routines
- Binary operations
- String operations
- C-Types foreign function interface (
numpy.ctypeslib
) - Datetime support functions
- Data type routines
- Mathematical functions with automatic domain
- Floating point error handling
- Discrete Fourier Transform (
numpy.fft
) - Functional programming
- NumPy-specific help functions
- Input and output
- Linear algebra (
numpy.linalg
) - Logic functions
- Masked array operations
- Mathematical functions
- Matrix library (
numpy.matlib
) - Miscellaneous routines
- Padding Arrays
- Polynomials
- Random sampling (
numpy.random
) - Set routines
- Sorting, searching, and counting
- Statistics
- Test Support (
numpy.testing
) - Support for testing overrides (
numpy.testing.overrides
) - Window functions
- Typing (
numpy.typing
) - Global state
- Packaging (
numpy.distutils
) - NumPy distutils - users guide
- Status of
numpy.distutils
and migration advice - NumPy C-API
- CPU/SIMD Optimizations
- NumPy security
- NumPy and SWIG
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.