4
my_list=["one", "one two", "three"]
,我产生了这个表中的词云使用生成词云在Python中列表中的项目
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"
帮我在列表中
我得到“KeyError异常:“” – pyd
能否请您与您的代码运行我的名单> \? – pyd