W3cubDocs

/NumPy 1.10

numpy.ma.MaskedArray.__new__

static MaskedArray.__new__(data=None, mask=False, dtype=None, copy=False, subok=True, ndmin=0, fill_value=None, keep_mask=True, hard_mask=None, shrink=True, **options)[source]

Create a new masked array from scratch.

Notes

A masked array can also be created by taking a .view(MaskedArray).

© 2008–2016 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.ma.MaskedArray.__new__.html