SciPy

This is documentation for an old release of NumPy (version 1.17.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.ma.MaskedArray.__array__

method

MaskedArray.__array__()

Returns either a new reference to self if dtype is not given or a new array of provided data type if dtype is different from the current dtype of the array.

Previous topic

numpy.ma.MaskedArray.__new__

Next topic

numpy.ma.MaskedArray.__array_wrap__