Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 11, 2021 07:13
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 amankharwal/da0fa9140235277396e34f10cce23a02 to your computer and use it in GitHub Desktop.
Save amankharwal/da0fa9140235277396e34f10cce23a02 to your computer and use it in GitHub Desktop.
text = " ".join(i for i in data.text)
stopwords = set(STOPWORDS)
wordcloud = WordCloud(stopwords=stopwords, background_color="white").generate(text)
plt.figure( figsize=(15,10))
plt.imshow(wordcloud, interpolation='bilinear')
plt.axis("off")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment