📜  从另一个数据帧python代码示例中查找数据帧中的行

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

代码示例1
common = df1.merge(df2,on=['col1','col2'])
print(common)
df1[(~df1.col1.isin(common.col1))&(~df1.col2.isin(common.col2))]