如果我们有以下形状的数据帧:
其中每行都是计数器对象的列表,例如。
In: df = df["words_count"].tolist()
Out:
[[('felt', 9), ('didnt', 4), ('thought', 4), ('never', 4), ('tears', 4)],
[('us', 11), ('class', 9), ('team', 9), ('would', 8), ('laughter', 6)],
[('laughter', 65), ('one', 42), ('would', 38), ('us', 31), ('time', 28)],
[('class', 13), ('time', 10), ('would', 7), ('people', 6), ('room', 5)],
[('family', 11), ('us', 10), ('laughter', 9), ('one', 8), ('get', 7)],
[('laughter', 28), ('would', 23), ('like', 18), ('us', 18), ('day', 18)],
[('one', 44), ('like', 43), ('laughter', 43), ('would', 39), ('time', 36)],
...
]
word_counts
通过
score
? i、 e.根据论文分数,最常用单词的直方图?