Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python pd.DataFrame.from_records remove header

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