numpy.ma.masked_array.unshare_mask

method

masked_array.unshare_mask()[源代码]

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.

参见

sharedmask