标签: python-3.x
我有一个数据框df,其行如下:
Column A: <span style="font-family">This is a test <li>Hello there</li> <xi> Hi </xi>
我想遍历数据框中的每一行,并检查是否出现以 << / strong>开头并以>
我该怎么做?
我知道我可以像这样遍历数据框:
For r in zip(df['Column A']):
但是如何在以>开头和<< / p>结尾的行中找出单词