numpy / 1.18.5 / reference / generated / numpy.ma.maskedarray.__array__.html /

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.

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.ma.MaskedArray.__array__.html