print small DataFrame to STDOUT and read it back into dataframe

Luca please_no at spam.it
Mon Apr 6 18:29:01 EDT 2020


On 4/6/2020 3:03 PM, Christian Gollwitzer wrote:

>>
> 
> CSV is the most sensible option here. It is widely supported by 
> spreadsheets etc. and easily copy/pasteable.

Thank you Christian.

so, given a dataframe, how do I make it print itself out as CSV?

And given CSV data in my clipboard, how do I paste it into a Jupiter 
cell (possibly along with a line or two of code) that will create a 
dataframe out of it?




More information about the Python-list mailing list