Answers for "select inverse with conditions pandas"

0

select inverse with conditions pandas

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
Posted by: Guest on April-07-2020

Code answers related to "select inverse with conditions pandas"

Python Answers by Framework

Browse Popular Code Answers by Language