df
# set the column names
header = ['col1','col2', 'col3']
# store the header as dataframe
df_header = pd.DataFrame([df.columns], columns=header)
# rename the columns
df.columns = header
# add the header as the first row
df = pd.concat([df_header, df]).reset_index(drop=True)
df