I have customer transaction data over a period of time, where they have used multiple emails and phone number over the time. How I can associate all emails and phone numbers to one ID. My current dataframe is in following format
Name Phone Email
Ram 123456788 ram@gmail.com
Ram Fernandes 123456788 r1@live.com
Ram F 213456789 r1@live.com
Ram Fern 213456789 ram@msft.com
Matthews 123456798 Matt@msft.com
Output should look like
ID Name
Cust 1 Ram
Cust 1 Ram Fernandes
Cust 1 Ram F
Cust 1 Ram Fern
Cust 2 Matthews