📅  最后修改于: 2022-03-11 14:46:00.123000             🧑  作者: Mango
traindf['title'] = traindf['title'].apply(lambda x: ' '.join([word for word in x.lower().split() if word not in
stopwords.words('english') and string.punctuation]))