How to save the Pandas dataframe/series data as a figure?

前端 未结 7 1737
猫巷女王i
猫巷女王i 2020-11-29 00:25

It sounds somewhat weird, but I need to save the Pandas console output string to png pics. For example:

>>> df
                   sales  net_pft             


        
相关标签:
7条回答
  • 2020-11-29 01:10

    You might like to save the df as pdf, in that case reportlab Table will do the job.

    0 讨论(0)
提交回复
热议问题