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
The N-dimensional array (
ndarray
)
Scalars
numpy.generic.flags
numpy.generic.shape
numpy.generic.strides
numpy.generic.ndim
numpy.generic.data
numpy.generic.size
numpy.generic.itemsize
numpy.generic.base
numpy.generic.dtype
numpy.generic.real
numpy.generic.imag
numpy.generic.flat
numpy.generic.T
numpy.generic.__array_interface__
numpy.generic.__array_struct__
numpy.generic.__array_priority__
numpy.generic.__array_wrap__
numpy.generic.__array__
numpy.generic.__array_wrap__
numpy.generic.squeeze
numpy.generic.byteswap
numpy.generic.__reduce__
numpy.generic.__setstate__
numpy.generic.setflags
numpy.number.__class_getitem__
Data type objects (
dtype
)
Data type promotion in NumPy
Iterating over arrays
Standard array subclasses
Masked arrays
The array interface protocol
Datetimes and timedeltas
Universal functions (
ufunc
)
Routines and objects by topic
Typing (
numpy.typing
)
Packaging (
numpy.distutils
)
NumPy C-API
Array API standard compatibility
CPU/SIMD optimizations
Thread Safety
Global Configuration Options
NumPy security
Status of
numpy.distutils
and migration advice
numpy.distutils
user guide
NumPy and SWIG
NumPy reference
Array objects
Scalars
numpy.generic.__setstate__
numpy.generic.__setstate__
#
method
generic.
__setstate__
(
)
#
On this page
generic.__setstate__