a guest Jun 13th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #Removing all locations with 2 or less items.
- counts = non_mv.location.value_counts()
- loc_gt2 = counts[counts > 2]
- popular_locations = non_mv[non_mv.location.isin(loc_gt2.keys())]
- sns.violinplot(x="location", y="price", data=popular_locations, scale="width", inner="stick")
RAW Paste Data