I want to visualize between name and rating with number of review using multiple bar chart, like this but instead of country name, start and end it will be restaurant name(name), rating and number_of_review.
For now this is my code:
dataset.set_index('name')[['rating', 'number_of_review']].plot.bar(figsize=(155,150)) plt.show() But is there any way to show only top 10 highest from my data which the main reference is number_of_review column?


没有评论:
发表评论