Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
On cheatsheet is rename command correct? #2
Comments
birdsarah
changed the title from
On cheatsheet is rename command correct to On cheatsheet is rename command correct?
Apr 22, 2015
brandon-rhodes
self-assigned this
Apr 22, 2015
brandon-rhodes
closed this
in a49cba7
Apr 27, 2015
|
Thank you, Sarah! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
birdsarah commentedApr 22, 2015
Line 99 - df.rename({'a': 'y', 'b': 'z'})
I'm wondering whether it should be df.rename(columns={'a': 'y', 'b': 'z'}).
At the least, this was the pattern I needed to change my column names on pandas 0.16.0.