panas drop row code example
Example 1: drop columns pandas
df.drop(columns=['B', 'C'])
Example 2: drop the first column pandas
df.set_index['column'] # column refers to column to be set as index
df.drop(columns=['B', 'C'])
df.set_index['column'] # column refers to column to be set as index