DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
rename one dataframe column python
#suppy as dict the column name to replace df1 = df.rename(columns={'Name': 'EmpName'}) print(df1)
Source by www.journaldev.com #
PREVIOUS
NEXT
Tagged:
#rename
#dataframe
#column
#python
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit