User Guide
API reference
Development
Release notes
Learn
1.26
GitHub
Twitter
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
)
Indexing routines
Iterating over arrays
Standard array subclasses
Masked arrays
The array interface protocol
Datetimes and Timedeltas
Array API Standard Compatibility
Constants
Universal functions (
ufunc
)
Routines
Typing (
numpy.typing
)
Global state
Packaging (
numpy.distutils
)
NumPy distutils - users guide
Status of
numpy.distutils
and migration advice
NumPy C-API
CPU/SIMD Optimizations
NumPy security
NumPy and SWIG
On this page
generic.real
numpy.generic.real
#
attribute
generic.
real
#
The real part of the scalar.