So basically I am trying to achieve something like this:
DataFrameA:
A pr
0 true 0.3
1 false 0.7
DataFrameB:
B pr
0 true 0.9
1 false 0.1
Result:
A pr_a B pr_b
0 true 0.3 true 0.9
1 true 0.3 false 0.1
2 false 0.7 true 0.9
3 false 0.7 false 0.1
Is there a convenient way to achieve this? How about a general case? For example A,B merge with C gives me all the mapping for A,B,C.
Thank you in advance!