pandas.Index.putmask

Index.putmask(self, mask, value)[source]

Return a new Index of the values set with the mask.

Returns
Index

See also

numpy.ndarray.putmask
Scroll To Top