From:
ID | Count | IC | Supplier |
123 | 43 | 124234 | /A/B/C |
To:
ID | Count | IC | Supplier |
123 | 43 | 124234 | /A |
123 | 43 | 124234 | /B |
123 | 43 | 124234 | /C |
Hi Guys , as explained in the 1st table in image , I would like to convert it to the second table. In essence:
- To replicate rows based on content of Column ' Supplier'
- Every row contains a unique value of Supplier
Refer to image for more info.
Thanks in advance , this is very similar to R - Replicating Rows By Indicator within Column, but i am looking for the python solution.
Cheers Tonz