iifwhen_truewhen_false
Group: Logical
Aliases: if
Replaces True
values with when_true
and False
with when_false
. Only meant for use with boolean columns.
when_true
: value or column when self
is True
.
when_false
: value or column when self
is False
.