Search
 
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
Name
1+5 =