我有一个名为df
. 它有一个名为的列article
。该article
列包含 600 个字符串,每个字符串代表一篇新闻文章。我只想保留前四句包含关键字“COVID-19”AND(“中国”或“中文”)的文章。但是我无法找到一种方法来自己进行此操作。
(在字符串中,句子以 . 分隔\n
。示例文章如下所示:)
\nChina may be past the worst of the COVID-19 pandemic, but they aren’t taking any chances.\nWorkers in Wuhan in service-related jobs would have to take a coronavirus test this week, the government announced, proving they had a clean bill of health before they could leave the city, Reuters reported.\nThe order will affect workers in security, nursing, education and other fields that come with high exposure to the general public, according to the edict, which came down from the country’s National Health Commission.\ .......
梵蒂冈之花
手掌心
万千封印
慕工程0101907
相关分类