NumPy Reference¶
- Release
1.21
- Date
June 22, 2021
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
- 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
- Optionally SciPy-accelerated routines (
numpy.dual
) - Mathematical functions with automatic domain (
numpy.emath
) - Floating point error handling
- Discrete Fourier Transform (
numpy.fft
) - Functional programming
- NumPy-specific help functions
- Indexing routines
- 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
) - Window functions
- Typing (
numpy.typing
) - Global State
- Packaging (
numpy.distutils
) - NumPy Distutils - Users Guide
- NumPy C-API
- NumPy internals
- SIMD Optimizations
- 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.