astropy.utils
astropy.utils.masked
Change elements of an array based on conditional and input values.
Like numpy.place, but for masked array a and possibly masked values. Masked mask is not supported.
numpy.place
a
values
mask