Return a new Index of the values set with the mask.
See also
numpy.ndarray.putmask
Changes elements of an array based on conditional and input values.