df.drop('column_name', axis=1, inplace=True)
del df['column']
df.drop('col_name',1) #1 drop column / 0 drop row
del df['column_name'] #to remove a column from dataframe
del df['column_name']
To delete rows and columns from DataFrames, Pandas uses the “drop” function. To delete a column, or multiple columns, use the name of the column(s), and specify the “axis” as 1.