📜  选择逆条件熊猫 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:25.877000             🧑  作者: Mango

代码示例1
In [411]:
df_a[~((df_a['id'].isin(values1)) & (df_a['car'].isin(values2)))]
#     ^                                                        ^
Out[411]:
   id    car
3  s4  mazda
5  s5    bmw
6  s4   audi