NumPy Reference¶
- Release
1.18
- Date
May 24, 2020
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 also NumPy User Guide.
- 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
) - Financial functions
- 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
- Packaging (
numpy.distutils
) - NumPy Distutils - Users Guide
- NumPy C-API
- NumPy internals
- 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.