Python Forum

Full Version: Display output in readable format and save
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Assuming you are using pandas, there are many output options
see: https://pandas.pydata.org/pandas-docs/st...ce/io.html