A B C 0 0 -2 1 1 1 -1 2 2 2 0 3 3 3 1 0 4 4 2 5
I want to get a new column such that it picks elements from B if B is positive (>0) otherwise picks elements from C
A B C D 0 0 -2 1 1 1 1 -1 2 2 2 2 0 3 3 3 3 1 0 1 4 4 2 5 5
A B C 0 0 -2 1 1 1 -1 2 2 2 0 3 3 3 1 0 4 4 2 5
I want to get a new column such that it picks elements from B if B is positive (>0) otherwise picks elements from C
A B C D 0 0 -2 1 1 1 1 -1 2 2 2 2 0 3 3 3 3 1 0 1 4 4 2 5 5