Skip to content

Instantly share code, notes, and snippets.

@michaelosthege
Last active November 30, 2017 10:09
Show Gist options
  • Save michaelosthege/6a7062e38f010b6814bea62284dbf73e to your computer and use it in GitHub Desktop.
Save michaelosthege/6a7062e38f010b6814bea62284dbf73e to your computer and use it in GitHub Desktop.
Some pandas code snippets
# saving a DataFrame to an Excel spreadsheet
writer = pandas.ExcelWriter(fp_xlsx)
df.to_excel(writer, 'Sheetname')
writer.save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment