[Numpy-discussion] interleaving arrays

Robert kxroberto at googlemail.com
Sun Jun 14 10:11:29 EDT 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