首先,使用BeautifulSoup包去除文本中的HTML标签。 import pandas as pd from bs4 import BeautifulSoup train = pd.read_csv ('labeledTrainData.tsv',header= 0, delimiter= '\t',quoting= 3) example = BeautifulSoup(train.review[0],"lxml") print(example.get_text () ) 1. 2. 3. 4. 5."With al...