I have a pandas dataframe in the following format:
id category
0 17074820 [15153999, 15213210, 7668302]
1 15153999 [12721363, 9096352, 10788337, 9114021, 10330360]
2 15213210 [11466240, 12184798]
3 7668302 [1539589]
4 12721363 [9465087, 11842208, 11309498, 9465125, 9990074...
I want to add id
values corresponding to list in rows, eg:
id category
0 17074820 15153999
0 17074820 15213210
0 17074820 7668302