Like we can do this :
df[df['first_name'].notnull() & (df['nationality'] == "USA")]
I want to get portion of dataframe where the rows obey to 2 conditions that the value of column 'A' and column 'B' from df1 doesn't exist in a row from df2 I tried :
df1[~ (df1['A']==df2['A'] & df1['B']==df2['B'])]