79390546

Date: 2025-01-27 11:23:18
Score: 1
Natty:
Report link

Save the current headers as the first row of the dataframe using df.loc[-1] = df.columns and adjust the index.

Rename the columns to the correct ones with df.columns = ['column 1', 'column 2'].

Done!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Acourages