Pandas version checks
Location of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.Index.putmask.html
Documentation problem
mask can accept 1d arrays of numpy, lists of bool and np.bool, pandas BooleanArray, Index[bool] and Series[bool].
Originated from pandas-dev/pandas-stubs#1505.
Suggested fix for documentation
mask : AnyArrayLike of boolean values