SciPy

numpy.ma.MaskedArray.recordmask

MaskedArray.recordmask

Return the mask of the records. A record is masked when all the fields are masked.