stack a array into another array

Joined
Oct 19, 2007
Messages
3
Reaction score
0
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top