remove column index and make first row a colum pandas code example Example: df.drop index df.reset_index(drop=True, inplace=True)