-
-
Save amankharwal/558deae4362de8d3e24ec2c45a329eba 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
df.average_rating = df.average_rating.astype(float) | |
fig, ax = plt.subplots(figsize=[15,10]) | |
sns.distplot(df['average_rating'],ax=ax) | |
ax.set_title('Average rating distribution for all books',fontsize=20) | |
ax.set_xlabel('Average rating',fontsize=13) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment