Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 3, 2021 07:07
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/d28ade8de671f763cb7d95046410e5e8 to your computer and use it in GitHub Desktop.
Save amankharwal/d28ade8de671f763cb7d95046410e5e8 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