Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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