How to color cell in pandas dataframe for the cell value greater than average of column?

Viewed 16

I want to highlight the cell values with green for exceeding column average and those below average in Red and default in no color fill. How to acheive this in Pandas ? Please suggest.

DataFrame

0 Answers
Related