how to drop column index and apply a row as coloumn index code example Example: how to drop the index column in pandas df.reset_index(drop=True, inplace=True)