I have two data frames 1) Accounts and 2) Customers. The schema of accounts is as:
Name Id Telehone Mob email
AR 1 123 1234 test1@gmail.com
BR 2 213 4123 test2@gmail.com
CR 3 231 3214 test3@gmail.com
KR 4 132 1324 test4@gmail.com
Second table Customers as:
Id Phone Email
2 2344 testq@gmail.com
6 132 testf@gmail.com
7 64562 test1@gmail.com
I need to join these two dataframes such that Id
is matching Id
OR
Phone
is matching Telephone
OR Mob Or Email
is matching email
. In Above case in first row of Customers is matching on ID, Second is matching on phone and third on email. The join Should be left containin all records of Accounts.