-
-
Save amankharwal/28557d5cf4d0fdfb937f590aae6bce75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
top_ten = df[df['ratings_count'] > 1000000] | |
top_ten.sort_values(by='average_rating', ascending=False) | |
plt.style.use('seaborn-whitegrid') | |
plt.figure(figsize=(10, 10)) | |
data = top_ten.sort_values(by='average_rating', ascending=False).head(10) | |
sns.barplot(x="average_rating", y="title", data=data, palette='inferno') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment