Upuść kolumnę z DataFrame
#To delete the column without having to reassign df
df.drop('column_name', axis=1, inplace=True)
Desert Trap
#To delete the column without having to reassign df
df.drop('column_name', axis=1, inplace=True)
df.drop('column_name', axis=1, inplace=True)
note: df is your dataframe
df = df.drop('coloum_name',axis=1)
del df['column']