There is one column in my pandas dataframe with more information. I need to split this to different rows based on a punctuation in the values in the column. Could anyone please help me solve this.
What I have:
ProductId Icecream State Country
1 Vanilla;Strawberry TN IN
2 Blueberry;Vanilla;Mango KL IN
Expected Output:
ProductId Icecream State Country
1 Vanilla TN IN
1 Strawberry TN IN
2 Blueberry KL IN
2 Vanilla KL IN
2 Mango KL IN