Skip to content

Instantly share code, notes, and snippets.

@tommyhuang1
Created February 12, 2017 20:07
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/06e0929c03c92e2d6664cc1877c59efe to your computer and use it in GitHub Desktop.
Save tommyhuang1/06e0929c03c92e2d6664cc1877c59efe to your computer and use it in GitHub Desktop.
Clonazepam-ReviewCountByCondition
clonazepam = pd.read_csv('clonazepamData.csv')
#Review Count By Condition for clonazepam
clonazepam.groupby('Condition').size().sort_values(ascending=True).plot(kind='barh',fontsize=25,figsize=(20,15),sort_columns= True)
plt.xlabel('Review Count', fontsize=25)
plt.ylabel('Condition', fontsize=25)
plt.title('Review Count By Condition (Clonazepam)',fontsize= 30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment