drop some columns in pandas code example
Example 1: drop columns pandas
df.drop(columns=['B', 'C'])
Example 2: remove column from dataframe
df.drop('column_name', axis=1, inplace=True)
Example 3: remove columns from dataframe
df.drop('col_name',1) #1 drop column / 0 drop row