bundles / numpy 2.4.4 / numpy / ma / core / MaskedArray / unshare_mask
function
numpy.ma.core:MaskedArray.unshare_mask
source: /numpy/ma/core.py:3700
Signature
def unshare_mask(self)Summary
Copy the mask and set the sharedmask flag to False.
Extended Summary
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
- sharedmask
Aliases
numpy.ma.MaskedArray.unshare_mask