NumPy
ufunc
numpy.ctypeslib
numpy.fft
numpy.linalg
numpy.matlib
numpy.random
numpy.testing
numpy.testing.overrides
numpy.typing
numpy.distutils
ma.MaskedArray.unshare_mask
method
Copy the mask and set the sharedmask flag to False.
sharedmask
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.
unshare_mask
See also
previous
numpy.ma.MaskedArray.soften_mask
next
numpy.ma.MaskedArray.shrink_mask