Created
July 22, 2019 02:14
-
-
Save wandabwa2004/012b15c5469c3e38bbd30539b245d0b9 to your computer and use it in GitHub Desktop.
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
print('5 random reviews with the highest positive sentiment polarity: \n') | |
cl = df.loc[df.polarity == 1, ['review_body']].sample(5).values | |
for c in cl: | |
print(c[0]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment