numpy.ma.MaskedArray.itemsize

MaskedArray.itemsize

Length of one 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 topic

numpy.ma.MaskedArray.flags

Next topic

numpy.ma.MaskedArray.nbytes

This Page

Quick search