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

前端 未结 7 1734
猫巷女王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.

提交回复
热议问题