numpy.ma.MaskedArray.size

MaskedArray.size

Number of elements in the array.

Examples

>>> x = np.zeros((3,5,2), dtype=np.complex128)
>>> x.size
30

Previous topic

numpy.ma.MaskedArray.shape

Next topic

numpy.ma.MaskedArray.strides

This Page

Quick search