my_list=["one", "one two", "three"]
and I create a word cloud for this list using
wordcloud = WordCloud(width = 1000, height = 500).generate(" ".join(my_list))
Since I convert all the elements to a string, it generates a word cloud for
"one","two","three"
But I want to generate word cloud for the values, "one","one two","three"
Help me create a word cloud for items in a list
source
share