C
Chris Chris
Hi,
This is what I have got:
arr = ["abc", ["def", "def", "def"]]
This is what I would like:
arr_final = [["abc", "def"], ["abc", "def"], ["abc", "def"]]
---------------------------------------------------
If I manage to modify arr to
a2 = [["abc", "abc", "abc"], ["def", "def", "def"]]
I could simply use .transpose to get arr_final... There might
be other ways too, but unfortunately, I'm still at square 1.
Any ideas?
Cheers, Chris
This is what I have got:
arr = ["abc", ["def", "def", "def"]]
This is what I would like:
arr_final = [["abc", "def"], ["abc", "def"], ["abc", "def"]]
---------------------------------------------------
If I manage to modify arr to
a2 = [["abc", "abc", "abc"], ["def", "def", "def"]]
I could simply use .transpose to get arr_final... There might
be other ways too, but unfortunately, I'm still at square 1.
Any ideas?
Cheers, Chris