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