【发布时间】:2021-10-03 06:08:57
【问题描述】:
我有一个清单
top = ['GME', 'MVIS', 'TSLA', 'AMC']
我有一个数据集
dt ... text
0 2021-03-19 20:59:49+06 ... I only need TSLA TSLA TSLA TSLA to hit 20 eod to make up for a...
1 2021-03-19 20:59:51+06 ... Oh this isn’t good
2 2021-03-19 20:59:51+06 ... lads why is my account covered in more GME ...
3 2021-03-19 20:59:51+06 ... I'm tempted to drop my last 800 into some TSLA...
所以我想要做的是检查句子中的行中是否包含超过 3 个单词我想删除这一行
感谢您的帮助
【问题讨论】: