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.__setmask__

method

MaskedArray.__setmask__(self, mask, copy=False)[source]

Set the mask.

Previous topic

numpy.ma.MaskedArray.__contains__

Next topic

numpy.ma.MaskedArray.harden_mask