[Numpy-discussion] List of arrays

Alan G Isaac aisaac at american.edu
Mon May 11 06:54:45 EDT 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