Pandas 0.21+ Answer
There have been some significant updates to column renaming in version 0.21.
- The
rename
method has added theaxis
parameter which may be set tocolumns
or1
. This update makes this method match the rest of the pandas API. It still has theindex
andβ¦
Top comments (0)