I would like to color the dataframe based on the condition below
LL UL col_1 col_2 col_3 col_4
1 0 10 5 -6 13 46
2 3 12 0 5 8 55
3 NaN NaN -9 8 4 5
I want to color col_1 col_2 col_3 and col_4 if the values is lower than column LL or higher than UL in each row.
If lower, color it red. If higher, color it green.
Moreover, if there is no upper limit and no lower limit, do nothing in that row.
Thanks!

