Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python dataframe remove header

df.rename(columns=df.iloc[0]).drop(df.index[0])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #dataframe #remove #header
ADD COMMENT
Topic
Name
5+2 =