Skip to content

Instantly share code, notes, and snippets.

@tommyhuang1
Created February 12, 2017 20:09
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/de70932a838adccc2127fa485d03ea64 to your computer and use it in GitHub Desktop.
Save tommyhuang1/de70932a838adccc2127fa485d03ea64 to your computer and use it in GitHub Desktop.
Topiramate-ReviewCountByCondition
Topiramate= pd.read_csv('TopiramateData.csv')
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
Topiramate.groupby('Condition').size().sort_values(ascending=True).plot(kind='barh',fontsize=20,figsize=(13,10),sort_columns= True)
plt.xlabel('Review Count', fontsize=20)
plt.ylabel('Condition', fontsize=20)
plt.title('Review Count By Condition (Topiramate)',fontsize= 25)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment