This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).

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