|
|
1
2
您可以使用isin()函数根据任何列值过滤DataFrame,该函数返回一个布尔序列,可以将其传递给DataFrame以获得过滤结果。
|
|
2
1
诀窍是检查每个元素是否都在给定的列表中
|