Created
May 11, 2021 05:34
-
-
Save AayushSameerShah/7e7170e861cdb29b8edcc51db13f8643 to your computer and use it in GitHub Desktop.
Make WORDMAP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from wordcloud import WordCloud, STOPWORDS | |
text = ' '.join(df_movie['listed_in']) | |
plt.rcParams['figure.figsize'] = (12,12) | |
wordcloud = WordCloud(background_color = 'black',colormap='vlag', width = 1200, height = 1200, max_words = 121).generate(text) | |
plt.imshow(wordcloud) | |
plt.axis('off') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will make the categorical feature into Sherlock Type feature...
Link https://www.kaggle.com/nikunjmalpani/netflix-movies-and-tv-shows-data-visualization (Scroll to 42nd IN)