Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created October 12, 2021 09:01
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/e5c0b5bfea95ebf29901a1e1b53e2201 to your computer and use it in GitHub Desktop.
Save amankharwal/e5c0b5bfea95ebf29901a1e1b53e2201 to your computer and use it in GitHub Desktop.
text = " ".join(i for i in data.hashtags)
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