Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

change dataframe columns order

df = df[['col1', 'col2', 'col3', 'col4']]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #dataframe #columns #order
ADD COMMENT
Topic
Name
7+1 =