

pyplot as pltĭataset = open ( "Top Movies.txt", "r" ). txt dataset like below in another cell of jupyter Notebook % matplotlib inlineįrom wordcloud import WordCloud, STOPWORDS import matplotlib. figure ( figsize = ( 10, 10 ) ) wordcloud = WordCloud ( background_color = 'white', min_font_size = 10, width = 500, height = 500 ).
#Install wordcloud python from anaconda prompt install#
Type sudo apt-get install python to install Python. Type sudo apt-get update and press Enter to update your software library. Type python3 -version and press Enter to verify if Python is installed.

read ( ) print ( dataset ) # Data Visualization : visualize the data using word cloud plt. If you have not already installed Python, use the following steps to install Python on Linux: Press Ctrl + Alt + T to open the Terminal. pyplot as plt from wordcloud import WordCloud % matplotlib inline # Data Analysis : upload dataset and analyze the data dataset = open ( "Top Movies.txt", "r" ). show ( ) # Upload datasets and generate word cloud # Importing Libraries import matplotlib. figure ( figsize = ( 10, 10 ) ) wordcloud = WordCloud ( background_color = 'white', repeat =

% matplotlib inline # Data Visualization : visualize the data using word cloud text = "square" plt. pyplot as plt import pandas as pd from wordcloud import WordCloud When you want to use the Python interpreter again, just click the Windows Start button and select the Anaconda Prompt and type python. To close the Anaconda Prompt, you can either close the window with the mouse, or type exit, no parenthesis necessary. Input : Import Python libraries, datasets Output : Data - driven Word Cloud # A fun way to create your own text and generate word cloud # Importing Libraries import numpy as np import matplotlib. There is a new version available now but this one worked for me With Anaconda python 3.6 download from this link. The is needed to stop the Python interpreter and get back out to the Anaconda Prompt.
