how to remove a column from pandas dataframe using negation code example
Example 1: how to delete a column from a dataframe in python
del df['column']
Example 2: remove columns from dataframe
df.drop('col_name',1) #1 drop column / 0 drop row
del df['column']
df.drop('col_name',1) #1 drop column / 0 drop row