Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rename colums dataframe pandas

df.columns = ['new_col1', 'new_col2', 'new_col3', 'new_col4']
Source by www.statology.org #
 
PREVIOUS NEXT
Tagged: #rename #colums #dataframe #pandas
ADD COMMENT
Topic
Name
9+4 =