Hi Team,
I need your help and drawing a blank.
Aim :
- To extract the email domain from email for a given Id and put in a new column called "Email Domain"
- To find the most common Email domain for a given Id and stamp on all the same ids in a column called "Common domain for Id"
Input data
| Id | Email |
| 0033a00002UsNUwAAN | abc@blueprintmedicines.com |
| 0033a00002UsNUwAAN | abc@blueprintrg.com |
| 003f1000022P0nJAAS | abc@healthadvances.com |
| 001f100001OisCLAAZ | abc@10XGENOMICS.COM |
| 001f100001OisCLAAZ | abc@10xgenomics.com |
| 001f100001OisCLAAZ | abc@10xtechnologies.com |
| 001f100001OisCLAAZ | abc@10xgenomics.com |
| 001f100001OisCLAAZ | abc@its.jnj.com |
Expected outcome
Looking forward to your help
This is what
Regards
Masond3