I have dataframe:
| id | greetingsname |
|---|---|
| 1 | hello+peter|goodbye+john |
| 2 | hi+cheff|gutentag+rudolf|goodafternoon+Alex |
and i want
| id | greeting | name |
|---|---|---|
| 1 | hello | peter |
| 1 | goodbye | john |
| 2 | hi | cheff |
| 2 | gutentag | rudolf |
| 2 | goodafternoon | Alex |
I dont know, how dynamically split column greetingsname, to get what I want, because column greetingsname has different string lengths. But the delimeter distribution remains the same greeting DELIMETER(+) name DELIMETER(|) greeting DELIMETER(+) name
And in this sense it can have different lengths (several names and greetings and in another column a different number of names and greetings)
Thx