【发布时间】:2018-01-17 05:28:20
【问题描述】:
my_list=["one", "one two", "three"]
我正在为这个列表生成一个词云
wordcloud = WordCloud(width = 1000, height = 500).generate(" ".join(my_list))
当我将所有项目转换为字符串时,它正在为
生成词云 "one","two","three"
But I want to generate word cloud for the values, "one","one two","three"
帮我为列表中的项目生成词云
【问题讨论】:
标签: python string list word word-cloud