types of derived columns
When we binarise a non-numeric categorical, the newly generated columns are numeric.
Subsequent conditional statements on those columns will fail, because the conditional statements assume numeric data.
How to solve this? Convert the conditional value (i.e. value
in variable operator value
, e.g. v1234 >= 25
) into the type of the variable?