Python Forum
Display output in readable format and save - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Display output in readable format and save (/thread-19900.html)



Display output in readable format and save - hnkrish - Jul-19-2019

Hi,

I am looking for some dataframe where I can print on that dataframe and save it.

Ex:- if I write a=1+2 in python then result will be a=3, I want this result to be displayed in some figure or image or some pdf file etc rather than excel sheet. Can this be done. Thanks.


RE: Display output in readable format and save - Larz60+ - Jul-19-2019

Assuming you are using pandas, there are many output options
see: https://pandas.pydata.org/pandas-docs/stable/reference/io.html