numpy.ma.MaskedArray.unshare_mask — NumPy v1.13 Manual (original) (raw)
- Scipy.org
- Docs
- NumPy v1.13 Manual
- NumPy Reference
- Array objects
- Masked arrays
- Constants of the numpy.ma module
- index
- next
- previous
MaskedArray. unshare_mask()[source]¶
Copy the mask and set the sharedmask flag to False.
Whether the mask is shared between masked arrays can be seen from the sharedmask property. unshare_mask ensures the mask is not shared. A copy of the mask is only made if it was shared.
See also
Previous topic
numpy.ma.MaskedArray.soften_mask