place#

astropy.utils.masked.function_helpers.place(arr, mask, vals)[source]#

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.