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 [email protected]
Ram Fernandes 123456788 [email protected]
Ram F 213456789 [email protected]
Ram Fern 213456789 [email protected]
Matthews 123456798 [email protected]
Output should look like
ID Name
Cust 1 Ram
Cust 1 Ram Fernandes
Cust 1 Ram F
Cust 1 Ram Fern
Cust 2 Matthews