I have following two dataframes by common field comm
DataFrame I (vv)
V_Id object
V_Time object
comm object
dtype: object
V_Id V_Time comm
0 1234 2020-02-02-10-15-20 (166.0467, 35.2363)
1 1234 2020-02-02-10-15-22 (166.047, 35.2363)
2 1234 2020-02-02-10-15-23 (166.0473, 35.2363)
3 1234 2020-02-02-10-15-25 (166.0475, 35.2363)
DataFrame II (rr)
R_Id object
comm object
dtype: object
R_Id comm
0 One (166.0467, 35.2371)
1 One (166.0468, 35.2371)
2 One (166.0468, 35.2371)
I get following error, when I run vv.join(rr, on=['comm'])
ValueError: You are trying to merge on object and int64 columns. If you wish to proceed you should use pd.concat
How would I join/merge by comm
?