calculate an item form two other items


i have two columns for example A and B

possible values of a :1 ,4

possible values of b: 0 , 1, 9

now i want to generate column C which get ite value from A and B

for example :

if(a==1 ) => "alive"

else if(a==4) and (b==1) => c="death1"

else c="death2"

Seems like a good use case for the Rule Engine node. The c column should be computed something like this:

$a$=1 => "alive"

$a$=4 AND $b$=1 => "death1"

TRUE => "death2"