DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas rename specific column
df.rename(columns={'old_name': 'new_name'}, inplace=True)
PREVIOUS
NEXT
Tagged:
#pandas
#rename
#specific
#column
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit