So I have a matrix with 2 columns, first the name, second some content like
name content
ID1 1,2,3,4
ID2 1,2,3,4,5,6
ID3 1,2,3
The content has different lengths, and splitting the content itself is no problem. After the split I apply a certain function func(x). In the end, I want to receive this output:
name content
ID1 func(1)
ID1 func(2)
ID1 func(3)
ID1 func(4)
ID2 func(1)
ID2 func(2)
ID2 func(3)
ID2 func(4)
ID2 func(5)
ID2 func(6)
ID3 func(1)
ID3 func(2)
ID3 func(3)
I searched for certain questions but found nothing fitting. Thanks in advance!