Home > Net >  Unable to save dataframe in Jupyterlab to CSV/Excel
Unable to save dataframe in Jupyterlab to CSV/Excel

Time:11-29

I'm trying to export a dataframe in Jupyterlab. The command runs but I don't see the file on my desktop. I'm trying this but I don't find the file. I've even tried to_excel version but that doesn't work either. Any help, pls.

df_busu.to_csv(r'C:\Users\Admin\Desktop\app_play_store.csv')

to_csv

CodePudding user response:

try to save without raw string format and inverting the "" to "/".

`df_busu.to_csv("C:/Users/.../file.csv"; sep=";")`

that's how a export a file to csv from pandas in Win10.

  • Related