[Numpy-discussion] interleaving arrays

Robert kxroberto@googlemail....
Sun Jun 14 09:11:29 CDT 2009


whats the right way to efficiently weave arrays like this ? :

 >>> n
array([1, 2, 3, 4])
 >>> m
array([11, 22, 33, 44])
 >>> o
array([111, 222, 333, 444])


=>

[  1,  11, 111,   2,  22, 222,   3,  33, 333,   4,  44, 444]



More information about the Numpy-discussion mailing list