While I was handling the dataframe in pandas, got some unexpected cells which consists values like-
E_no | E_name |
---|---|
6654-0984 | Elvin-Johnson |
430 | Fred |
663/547/900 | Banty/Shon/Crio |
87 | Arif |
546 | Zerin |
322,76 | Chris,Deory |
In some rows, more than one E_name and E_no has been assigned which is supposed to be a single employee in each and every cell My data consists of E_no and E_name both these column needs to be separated in different rows.
What I want is
E_no | E_name |
---|---|
6654 | ELvin |
0984 | Johnson |
430 | Fred |
663 | Banty |
547 | Shon |
900 | Crio |
87 | Arif |
546 | Zerin |
322 | Chris |
76 | Deory |
Seperate those values and put in different rows. Please help me in doing this so that I can proceed further, and it will be really helpful if someone can mention the logic , how to think for this prblm. Thanks in advance.
Let me know if ur facing any kind of difficulty in understanding the prblm