I have two dataframes A and B which is of the following type
A:
col1 col2
abc Pid1
cdz Pid1
B:
col2 value
Pid1 2
Pid1 3
Pid1 4
Desired Output:
col1 col2 value
abc Pid1 2
abc Pid1 3
abc Pid1 4
cdz Pid1 2
cdz Pid1 3
cdz Pid1 4
I have tried merge(outer join) but didnt get the desired result
Please advice
Thank you in advance