I am using python spyder, Python v. 3, I need to color format the pandas
DataFrame
table and export it into HTML or image file, in case if export to image, how to make the image height and width of the table and set appropriate font size.
Could someone please help me on this.
Asked
Active
Viewed 492 times
0

sophros
- 14,672
- 11
- 46
- 75

Rafiq Shaikh
- 103
- 1
- 2
- 11
1 Answers
0
What may be of help is Styler
available in pandas
. Have a look at the tutorial. Without MCVE it is difficult to answer more precisely.
The HTML output is covered by this question: Python Pandas Data Frame save as HTML page

sophros
- 14,672
- 11
- 46
- 75