MasterAgreementId MasterAgreementType Data Source Break Type
11000002 ISDA Source System
11000002 ISDA CMRS
11000043 ISDA CMRS
11000049 ISDA Source System
11000049 ISDA CMRS
1451057679 ISDA Source System
我有一个包含这样的数据的数据框。我想使用MasterAgreementId作为比较的键,并希望输出如下:
MasterAgreementId MasterAgreementType Data Source Break Type
11000002 ISDA Source System Identical
11000002 ISDA CMRS Identical
11000043 ISDA CMRS Difference
11000049 ISDA Source System Identical
11000049 ISDA CMRS Identical
1451057679 ISDA Source System Difference
我想实现这一目标而无需迭代。
答案 0 :(得分:0)
通过使用MasterAgreementid
我用重复来填充另一列,这给了我每一行的假和真值,现在我试图计算它们的相同和不同