Mask whole rows of a 2D array that contain masked values.
axis : int, optional
Axis along which to perform the operation. If None, applies to a flattened version of the array.
numpy.ma.mask_rowcols
numpy.ma.harden_mask