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
numpy.empty
numpy.empty_like
numpy.eye
numpy.identity
numpy.ones
numpy.ones_like
numpy.zeros
numpy.zeros_like
numpy.full
numpy.full_like
numpy.array
numpy.asarray
numpy.asanyarray
numpy.ascontiguousarray
numpy.asmatrix
numpy.astype
numpy.copy
numpy.frombuffer
numpy.from_dlpack
numpy.fromfile
numpy.fromfunction
numpy.fromiter
numpy.fromstring
numpy.loadtxt
numpy.rec.array
numpy.rec.fromarrays
numpy.rec.fromrecords
numpy.rec.fromstring
numpy.rec.fromfile
numpy.char.array
numpy.char.asarray
numpy.arange
numpy.linspace
numpy.logspace
numpy.geomspace
numpy.meshgrid
numpy.mgrid
numpy.ogrid
numpy.diag
numpy.diagflat
numpy.tri
numpy.tril
numpy.triu
numpy.vander
numpy.bmat
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
Discrete Fourier Transform
Functional programming
Input and output
Indexing routines
Linear algebra