Hi,
I am newie to python.
How I combine 2 multi-dimension array into one by column?
here is an exmaple:
a = 1 2 3
2 3 4
3 4 5
b = 4 5 6
6 7 8
8 9 1
the combined array should be
c = 1 2 3 4 5 6
2 3 4 6 7 8
3 4 5 8 9 1
So essentially, stack all 3 columns of b into the end of a. c is 3 by 6 array.
How can i do that in python? Thanks in advance.
I am newie to python.
How I combine 2 multi-dimension array into one by column?
here is an exmaple:
a = 1 2 3
2 3 4
3 4 5
b = 4 5 6
6 7 8
8 9 1
the combined array should be
c = 1 2 3 4 5 6
2 3 4 6 7 8
3 4 5 8 9 1
So essentially, stack all 3 columns of b into the end of a. c is 3 by 6 array.
How can i do that in python? Thanks in advance.