SciPy

numpy.ma.masked_array.recordmask

masked_array.recordmask

Return the mask of the records.

A record is masked when all the fields are masked.