Generate combination for all values in example
Hi!
I'm currently trying to get a list of attributes to be two-columned.
Currently, the data looks like this
synonym1;synonym2;synonym3;synonymX
tv;television;led-tv;plasma-tv;
cable;cord;energy cable
So there isn't neccesarly the same number of attributes / synonyms in each example.
What I want is:
synonym1;synonym2
tv;television
tv;led-tv
tv;plasma-tv
television;led-tv
television;plasma-tv
...
cable;cord
cord;energy cable
...
I guess it is a combination of Loops and Aggregations.
Can anyone please help me?
Thank you very much in advance!
I'm currently trying to get a list of attributes to be two-columned.
Currently, the data looks like this
synonym1;synonym2;synonym3;synonymX
tv;television;led-tv;plasma-tv;
cable;cord;energy cable
So there isn't neccesarly the same number of attributes / synonyms in each example.
What I want is:
synonym1;synonym2
tv;television
tv;led-tv
tv;plasma-tv
television;led-tv
television;plasma-tv
...
cable;cord
cord;energy cable
...
I guess it is a combination of Loops and Aggregations.
Can anyone please help me?
Thank you very much in advance!