dropcolumns pandas dataframe code example
Example 1: drop a column from dataframe
df = df.drop('column_name', 1)
Example 2: pandas dataframe delete column
del df['column_name']
df = df.drop('column_name', 1)
del df['column_name']