Skip to content

Instantly share code, notes, and snippets.

@korakot
Created June 30, 2020 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save korakot/d17edc281888c3f65b56098c9785ef10 to your computer and use it in GitHub Desktop.
Save korakot/d17edc281888c3f65b56098c9785ef10 to your computer and use it in GitHub Desktop.
Rename pandas column
df = df.rename(columns={'old', 'new'})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment