text_plain_output_1.png image_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

ramen = pd.read_csv('../input/ramen-ratings/ramen-ratings.csv')

ramen_drop_unrated = ramen.copy()
ramen_convert_unrated = ramen.copy()

ramen_drop_unrated = ramen_drop_unrated[ramen_drop_unrated['Stars'] != 'Unrated']

ramen_drop_unrated.groupby('Style')['rating'].mean()

ramen_drop_unrated.groupby('Country')['rating'].mean().sort_values()