[Numpy-discussion] List of arrays

Alan G Isaac aisaac@american....
Mon May 11 05:54:45 CDT 2009


On 5/11/2009 6:28 AM Nils Wagner apparently wrote:
> How can I convert a list of arrays into one array ?

Do you mean one long array, so that ``concatenate``
is appropriate, or a 2d array, in which case you
can just use ``array``.

But your example looks like you should preallocate the
larger array and fill it as the data arrive,
if that's possible.

Alan Isaac



More information about the Numpy-discussion mailing list