text_plain_output_1.png image_output_1.png
import pandas as pd

import seaborn as sns

wine_df = pd.read_csv('../input/winemag-data_first150k.csv')

wine_df.drop('region_1', axis=1, inplace=True)

wine_df.drop('region_2', axis=1, inplace=True)

wine_df.drop('description', axis=1, inplace=True)

wine_df.drop('designation', axis=1, inplace=True)

wine_df['cheaper'] = 'no'
wine_df['cheaper'][wine_df['price'] < 20.0] = 'yes'
wine_df['quality'] = 'no'
wine_df['quality'][wine_df['points'] > 92] = 'yes'