0
votes

I want to make a contitioal formating, which is applied on another column in a pandas dataframe.

ID v key
1 -1 XYz
2 4 ABC
3 -5 FFF
4 6 34S

So i want to change the font-color to red in column "key", if value in coulumn "val" is greater than 0.

Thanks for help