I have this Framework, 2 columns (Blue and Red) and values (0,1)
**Blue Red**
0 1
1 1
I wanna a Dataframe result as this, If the column Red has value=1, replace this 1 with the name_column Red
**Blue Red**
0 Red
Blue Red
I can do it this with "for" but, do you know another way to do this? Thanks