Skip to content

Instantly share code, notes, and snippets.

@tommyhuang1
Created February 12, 2017 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tommyhuang1/dab0361e958ae9bd8bcff9ac36deec3d to your computer and use it in GitHub Desktop.
Save tommyhuang1/dab0361e958ae9bd8bcff9ac36deec3d to your computer and use it in GitHub Desktop.
Topiramate-AvgRating
DataWithRating2 = Topiramate[Topiramate['Rating'].isnull()==False]
DataWithRating2.groupby('Condition').mean().sort_values("Rating", ascending=True).plot(fontsize=20,kind = 'barh',color = 'g',figsize=(20,15))
plt.xlabel('Average Rating', fontsize=25)
plt.ylabel('Condition', fontsize=25)
plt.title('Average Rating By Condition (Topiramate)',fontsize= 30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment