I have a pandas dataframe in the below format
Number List_Ids
1kh3kh [123,456,789]
safhak [1234,15315,180]
I would need to explode the column "List_Ids" based on column "Number".
Number Id
1kh3kh 123
1kh3kh 456
1kh3kh 789
safhak 1234
safhak 15315
safhak 180
Wondering is there a pandas function that I could use to achieve this?
Any leads would be appreciated.