Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to rename columns in python

#how to rename columns with:

data = data.rename(columns={'Old_column' : 'New_column'})
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #rename #columns #python
ADD COMMENT
Topic
Name
2+2 =