how to drop columns from a pandas dataframe code example
Example 1: drop a column in pandas
note: df is your dataframe
df = df.drop('coloum_name',axis=1)
Example 2: how to delete a column from a dataframe in python
del df['column']
note: df is your dataframe
df = df.drop('coloum_name',axis=1)
del df['column']