print small DataFrame to STDOUT and read it back into dataframe
Luca
please_no at spam.it
Mon Apr 6 23:05:48 EDT 2020
On 4/6/2020 8:51 PM, Reto wrote:
> out = df.to_csv(None)
> new = pd.read_csv(io.StringIO(out), index_col=0)
Thank you, brother. It works
More information about the Python-list
mailing list