code: def draw_wordcloud_from_dataframe(
      dataframe, column, chart_format, depVar, mk_dir, verbose=0
  ):
      """
      This handy function draws a dataframe column using Wordcloud library and nltk.
      """
      imgdata_list = []
  
      ### Remember that fillna only works at dataframe level! ##
      X_train = dataframe[[column]].fillna("missing")
      ### Map function only works on Series, so you should use this ###
      X_train = X_train[column].map(clean_steps)
      ### next time, you get back a series, so just use it as is ###
      X_train = X_train.map(clean_text)
  
      # Dictionary of all words from train corpus with their counts.
  
      ### Fantastic way to count words using one line of code #############
      ###  Thanks to : https://stackoverflow.com/questions/35857519/efficiently-count-word-frequencies-in-python
      words_counts = Counter(
          chain.from_iterable(map(str.split, X_train))
      )
      vocab_size = 50000
      top_words = sorted(
          words_counts, key=words_counts.get, reverse=True
      )[:vocab_size]
      text_join = " ".join(top_words)
  
      # picture_mask = plt.imread('test.png')
  
      wordcloud1 = WordCloud(
          stopwords=STOPWORDS,
          background_color="white",
          width=1800,
          height=1400,
          # mask=picture_mask
      ).generate(text_join)
      return wordcloud1
  
imports: import pandas, numpy
  import pdb
  import nltk
  from nltk.sentiment.vader import SentimentIntensityAnalyzer
  from operator import itemgetter
  import copy
  from nltk import word_tokenize, pos_tag
  from collections import Counter
  from nltk.stem.wordnet import WordNetLemmatizer
  from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer
  import emoji
  import string
  import string
  from nltk.tokenize import word_tokenize
  import re
  import string
  import re
  from wordcloud import WordCloud, STOPWORDS
  import matplotlib.pyplot
  from textblob import TextBlob, Word
  from itertools import chain
label_desc: Use image node_id 19 for calling a global function with example usage: draw_wordcloud_from_dataframe(dataframe, column, chart_format, depVar, mk_dir, verbose) and returns: wordcloud1