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