drop 'class' values dataframe code example Example: remove a column from dataframe del df['column_name'] #to remove a column from dataframe