I'm very new to python. I wondered how I can concatenate array a and b in this particular way.
I tried using stack, vstack, hstack, concatenate and a whole lot more, but I'm still not able to get my desired result.
a= [[ 0],
[ 1],
[ 2],
[ 3],
[ 4],
[ 5],
[ 6]]
b= [[1,2,3],
[1,2,3],
[1,2,3],
[1,2,3],
[1,2,3],
[1,2,3],
[1,2,3]]
c = np.somefunction(a,b)
c = [
[[0],[1,2,3]],
[[1],[1,2,3]],
[[2],[1,2,3]],
[[3],[1,2,3]],
[[4],[1,2,3]],
[[5],[1,2,3]],
[[6],[1,2,3]],
]