diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 17355b41563cb..07c68334e7c6c 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -5406,9 +5406,8 @@ def putmask(self, mask, value) -> Index: Parameters ---------- - mask : np.ndarray[bool] - Array of booleans denoting where values in the original - data are not ``NA``. + mask : array-like of bool + Array of booleans denoting where values should be replaced. value : scalar Scalar value to use to fill holes (e.g. 0). This value cannot be a list-likes.