0

I have the following dataframe:

>  0 F/O    Price   Price2
>  1 F      5       
>  2 F      4
>  3 O      0       4
>  4 F      3

I want "Price" to be replaced with "Price2" if F/O == O. But I am unable to do this. Can someone help me?

0 Answers0