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.statology.org #
 
PREVIOUS NEXT
Tagged: #rename #columns #python
ADD COMMENT
Topic
Name
4+6 =