DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Renaming Column Name Dataframe
df = df.rename(columns={'oldName1': 'newName1', 'oldName2': 'newName2'})
Source by www.codegrepper.com #
PREVIOUS
NEXT
Tagged:
#Renaming
#Column
#Name
#Dataframe
ADD COMMENT
Topic
COMMENT
Name
6+8 =
Submit