ndarray
dtype
numpy.ma
ufunc
numpy.ctypeslib
numpy.dual
numpy.emath
numpy.fft
numpy.linalg
numpy.matlib
numpy.polynomial.polynomial
numpy.polynomial.chebyshev
numpy.polynomial.hermite
numpy.polynomial.hermite_e
numpy.polynomial.laguerre
numpy.polynomial.legendre
numpy.random
numpy.testing
numpy.typing
numpy.distutils
attribute
Length of one array element in bytes.
Examples
>>> x = np.array([1,2,3], dtype=np.float64) >>> x.itemsize 8 >>> x = np.array([1,2,3], dtype=np.complex128) >>> x.itemsize 16
previous
numpy.ndarray.size
next
numpy.ndarray.nbytes