I\'m trying to create a dataframe that incorporates a rule where cells are highlighted depending on their value. I\'ve done this using pandas.style (code for a simplified da