Skip to content

Instantly share code, notes, and snippets.

@seiteta
Last active September 13, 2017 14:40
Show Gist options
  • Save seiteta/46c5a5d3eebd420c3b0e372b61653a57 to your computer and use it in GitHub Desktop.
Save seiteta/46c5a5d3eebd420c3b0e372b61653a57 to your computer and use it in GitHub Desktop.
Various pandas command
# List the column of a DataFrame
list(my_dataframe)
# Rename columns
my_dataframe.columns = ['new_name_1', 'new_name_1']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment