为此,我使用了来自nltk的SentimentIntensityAnalyzer(),并弹出了以下错误。AttributeError: 'Series' object has no attribute 'encode'type(data['Text'])
Out[42]: pandas.core.serie
): #if there is no difference
main() #calling main function 输出应该是excel表格,其中包含两个files.The之间的差异摘要。上面的代码给出了文件之间的编号差异,但如果行数不同,输出也应该打印不在一个文件中的行。我将感谢任何想法,以改进这段代码,并帮助创建代码,以比较一个txt和csv文件与excel电子表格上的差异输出。*我在这里还是个新手,所以如果我需要编辑一些东西或让我