Skip to content

Instantly share code, notes, and snippets.

@jonathanoheix
Created December 18, 2018 09:52
Show Gist options
  • Select an option

  • Save jonathanoheix/3644043f723f63c5debc273f0446d700 to your computer and use it in GitHub Desktop.

Select an option

Save jonathanoheix/3644043f723f63c5debc273f0446d700 to your computer and use it in GitHub Desktop.
# lowest negative sentiment reviews (with more than 5 words)
reviews_df[reviews_df["nb_words"] >= 5].sort_values("neg", ascending = False)[["review", "neg"]].head(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment