Created
February 12, 2017 20:18
-
-
Save tommyhuang1/02252c3bb654442bf336c86d7f5ad3ac to your computer and use it in GitHub Desktop.
Pregabalin-AvgRating
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
DataWithRating3 = Pregabalin[Pregabalin['Rating'].isnull()==False] | |
DataWithRating3.groupby('Condition').mean().sort_values("Rating", ascending=True).plot(fontsize=22,kind = 'barh',color = 'g',figsize=(20,15)) | |
plt.xlabel('Average Rating', fontsize=25) | |
plt.ylabel('Condition', fontsize=25) | |
plt.title('Average Rating By Condition (Pregabalin)',fontsize= 30) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment