DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pd dataframe single column rename
df1 = df.rename(columns={'Name': 'EmpName'}) print(df1)
Source by www.journaldev.com #
PREVIOUS
NEXT
Tagged:
#pd
#dataframe
#single
#column
#rename
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit