分别是代码和报错,求大神们指点一二
收起
若是corterm是整数字符串,则把tfidf[corterm]改为tfidf[int(corterm)]即可。
corterm
tfidf[corterm]
tfidf[int(corterm)]
报告相同问题?