Last active
September 13, 2017 14:40
-
-
Save seiteta/46c5a5d3eebd420c3b0e372b61653a57 to your computer and use it in GitHub Desktop.
Various pandas command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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