hipdf.Index.where#
20 min read time
Applies to Linux
- Index.where(cond, other=None, inplace=False)#
Replace values where the condition is False.
The replacement is taken from other.
Parameters#
- condbool array-like with the same length as self
Condition to select the values on.
- otherscalar, or array-like, default None
Replacement if the condition is False.
Returns#
- cudf.Index
A copy of self with values replaced from other where the condition is False.