Skip to content
Advertisement

Color formatting excel file row in python

I have dataframe where I have 2 Date columns. I have to compare them and if they are different then whole row should be colored. Please check the picture. enter image description here

Please guide me how can I do that in python. Thanks in advance.

Advertisement

Answer

Create styles in helper DataFrame and export to excel:

JavaScript

pic

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement