<gh_stars>0
from wordcloud import WordCloud, STOPWORDS
from wordcloud import WordCloud
import wordcloud

def draw_cloud(dataframe, column):
    # Join the different processed titles together.
    long_string = ','.join(list(dataframe[column]))
    # Create a WordCloud object
    wordcloud = WordCloud(background_color="white", max_words=5000, contour_width=6, contour_color='steelblue')
    # Generate a word cloud
    wordcloud.generate(long_string)
    # Visualize the word cloud
    return wordcloud.to_image()
from wordcloud import WordCloud, STOPWORDS
from wordcloud import WordCloud
import wordcloud

def draw_cloud(dataframe, column):
    # Join the different processed titles together.
    long_string = ','.join(list(dataframe[column]))
    # Create a WordCloud object
    wordcloud = WordCloud(background_color="white", max_words=5000, contour_width=6, contour_color='steelblue')
    # Generate a word cloud
    wordcloud.generate(long_string)
    # Visualize the word cloud
    return wordcloud.to_image()
# Join the different processed titles together. # Create a WordCloud object # Generate a word cloud # Visualize the word cloud