check if dataframe header is unnamed, if yes rename with first row of dataframe python code example
Example: name unnamed column pandas
data.rename( columns={'Unnamed: 0':'new column name'}, inplace=True )
data.rename( columns={'Unnamed: 0':'new column name'}, inplace=True )