I am working on a legacy python system, which accepts dataframe and extracts certain numeric measures out of it. It then uses a excel template, creates a table based on the template and outputs the screenshot of it as a png. Through out this, it uses various windows specific packages like pywin32 and com objects.
We are now planning to move the system to linux from Windows and as part of it, trying to get rid of windows packages. Can anyone help me how can I create something as shown in the image using python packages or libraries without using excel templates and pywin packages?
Since its confidential, I cannot show the exact output, but it would look something in line with the attached image. The highlighted parts are the conditional formats on each column based on a threshold.