On this page
pandas.Index.putmask
- finalIndex.putmask(mask, value)[source]
-
Return a new Index of the values set with the mask.
- Returns
-
- Index
See also
-
numpy.ndarray.putmask
-
Changes elements of an array based on conditional and input values.
© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.5.0/reference/api/pandas.Index.putmask.html