我有一个名为tweet的dataframe,它的类型如下: Idtxt:
cleaned.append(re.sub(r"(?但是,tweet['cleaned_text']仍然不是字符串。text` argument passed to `__init__(text)` must be a string, not <class 'pandas.core.series.Series'> #或</em
我正在处理一个代码,错误发生在for循环块的第一行,尽管发生了错误,但一些条目仍然更新了语料库变量,请帮助我删除此错误 data = re.sub(not in set(stopwords.words('english'))] corpus_recipt.append(data)
错误说明如下TypeError:预期的字符串或</e
我在python中使用FuzzyWuzzy运行这段代码,这将返回以下错误:有什么快速简便的方法可以避免这个错误吗?我的档案里有一些Int,比如阿伯丁街142号。我想这就是错误代码的来源。line 26, in replace_non_letters_non_numbers_with_whitespace
return