Skip to main content
Back to top
Ctrl
+
K
User Guide
API reference
Building from source
Development
Release notes
Learn
More
NEPs
Choose version
GitHub
User Guide
API reference
Building from source
Development
Release notes
Learn
NEPs
Choose version
GitHub
Section Navigation
NumPy’s module structure
Array objects
Universal functions (
ufunc
)
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
numpy.c_
numpy.r_
numpy.s_
numpy.nonzero
numpy.where
numpy.indices
numpy.ix_
numpy.ogrid
numpy.ravel_multi_index
numpy.unravel_index
numpy.diag_indices
numpy.diag_indices_from
numpy.mask_indices
numpy.tril_indices
numpy.tril_indices_from
numpy.triu_indices
numpy.triu_indices_from
numpy.take
numpy.take_along_axis
numpy.choose
numpy.compress
numpy.diag
numpy.diagonal
numpy.select
numpy.place
numpy.put
numpy.put_along_axis
numpy.putmask
numpy.fill_diagonal
numpy.nditer
numpy.ndenumerate
numpy.ndindex
numpy.nested_iters
numpy.flatiter
numpy.iterable
Linear algebra (
numpy.linalg
)
Logic functions
Masked array operations
Mathematical functions
Miscellaneous routines
Polynomials
Random sampling (
numpy.random
)
Set routines
Sorting, searching, and counting