numpy.ma.masked_invalid

numpy.ma.masked_invalid(a, copy=True)
Mask the array for invalid values (NaNs or infs). Any preexisting mask is conserved.

Previous topic

numpy.ma.masked_inside

Next topic

numpy.ma.masked_less

This Page

Quick search