It sounds somewhat weird, but I need to save the Pandas console output string to png pics. For example:
>>> df sales net_pft
You might like to save the df as pdf, in that case reportlab Table will do the job.