pandas delete certain columns code example
Example 1: df drop column
df = df.drop(['B', 'C'], axis=1)
Example 2: remove columns from dataframe
df.drop('col_name',1) #1 drop column / 0 drop row
df = df.drop(['B', 'C'], axis=1)
df.drop('col_name',1) #1 drop column / 0 drop row