remove oclumn in df pandas code example
Example 1: drop a column from dataframe
df = df.drop('column_name', 1)
Example 2: drop the first column pandas
df.set_index['column'] # column refers to column to be set as index
df = df.drop('column_name', 1)
df.set_index['column'] # column refers to column to be set as index