numpy.ma.MaskedArray.harden_mask
method
- 
MaskedArray.harden_mask(self)[source] - 
Force the mask to hard.
Whether the mask of a masked array is hard or soft is determined by its
hardmaskproperty.harden_masksetshardmaskto True.See also
 
    © 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
    https://numpy.org/doc/1.19/reference/generated/numpy.ma.MaskedArray.harden_mask.html