numpy.ma.MaskedArray.array β€” NumPy v1.11 Manual (original) (raw)

MaskedArray.__array__(|dtype) β†’ reference if type unchanged, copy otherwise.ΒΆ

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__