I have a row of values that I partition into a table.
row = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
rowPartitioned = Partition[row, 6]
{{1, 2, 3, 4, 5, 6}, {7, 8, 9, 10, 11, 12}}
Now I want to partition again to get the result
{{1, 2}, {7, 8}, {3, 4}, {9, 10}, {5, 6}, {11, 12}}
How could I do the second partitioning?
Another example :
Starting with the 210 value row, with values 1 to 210, the output nested table would have 6 columns and 35 rows:
(1-6) (31-36) (61-66) (91-96) (121-126) (151-156) (181-186) (7-12) (37-42) (67-72) (97-102) (127-132) (157-162) (187-192) (13-18) (43-48) (73-78) (103-108) (133-138) (163-168) (193-198) (19-24) (49-54) (79-84) (109-114) (139-144) (169-174) (199-204) (25-30) (55-60) (85-90) (115-120) (145-150) (175-180) (205-210)
Partition[row, 2][[Riffle[Range[1, 3], Range[4, 6]]]]
? $\endgroup$