pandas drop 1st column and cretae index colum code example
Example 1: remove column from dataframe
df.drop('column_name', axis=1, inplace=True)
Example 2: drop the first column pandas
df.set_index['column'] # column refers to column to be set as index