Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

export pandas dataframe as excel

df.to_excel(r'C:UsersRonDesktopFile_Name.xlsx', index = False)

#if you omit the file path (must also omit 'r') and 
#enter only file_name.xlsx, it will save to your default file location,
# that is, where the file you're reading from is located.
 
PREVIOUS NEXT
Tagged: #export #pandas #dataframe #excel
ADD COMMENT
Topic
Name
4+2 =