Skip to content

Instantly share code, notes, and snippets.

@jonathanoheix
Created December 18, 2018 09:51
Show Gist options
  • Save jonathanoheix/5f87310d6e22f60c61226f2a6baf8d87 to your computer and use it in GitHub Desktop.
Save jonathanoheix/5f87310d6e22f60c61226f2a6baf8d87 to your computer and use it in GitHub Desktop.
# highest positive sentiment reviews (with more than 5 words)
reviews_df[reviews_df["nb_words"] >= 5].sort_values("pos", ascending = False)[["review", "pos"]].head(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment