I have some arrays like these:
a1 = [1,2,3,4]
a2 = [6,7,8,9]
a3 = [2,4,6,8]
a4 = ['Mon','Tues']
I want to group them as
result = [
[[1,6,2,'Mon'],[2,7,4,'Mon']],
[[3,8,6,'Tues'],[4,9,8,'Tues']]
]
which means if I print the 0th row it will output:
[[1,6,2,'Mon'],[2,7,4,'Mon']]