📅  最后修改于: 2022-03-11 14:47:25.138000             🧑  作者: Mango
df1.merge(df2,indicator = True, how='left').loc[lambda x : x['_merge']!='both']
Out[421]:
A B _merge
1 2 3 left_only
2 3 4 left_only
3 3 4 left_only