效果展示
*
python代码
from pyecharts import WordCloud
import pandas as pd
wd = pd.read_csv('cp.csv')
word = [i[0] for i in wd[['关键词']].values]
value = [i[0] for i in wd[['词频']].values]
wordCloud = WordCloud(width=2000, height=2000)
wordCloud.add('词云', word, value, word_size_range=[10, 120], shape='star')
2021-04-21 18:48:25
131KB
ar
art
c
1