Save and download dataframe in jupyter container

I am using the jupyter container and need to save the dataframe (metric evaluations) in CSV format. I can save the file but I do not know where it is saved and how to download it . Could you please let me know how can I download the saved file in .csv format? Thanks!

use


dataout.to_csv(‘df.csv’)
with c3_open(‘persist_df.csv’, ‘w’) as f, open(‘df.csv’, ‘r’) as f2:
f.write(f2.read())
you will see a file name persist_df.csv in the same place as the notebook. You can download as usuall.

1 Like