[Numpy-discussion] Dealing with arrays

Olivier Delalleau shish at keba.be
Tue Sep 20 12:00:51 EDT 2011


2011/9/20 DIPO ELEGBEDE <dipo.elegbede at gmail.com>

> 3. Get each array one after the other and work with it. (This is where the
> problem is).
>
> How can I fetch out array1, then array2 then array3 up to array12?
>
> Is it possible to slice?
>
>
Not really sure what your problem is, but since you should have now a list
of arrays, you should be able to just loop through this list.

for my_array in list_of_arrays:
  .... # do whatever you want on each array

-=- Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110920/1d240e42/attachment.html>


More information about the NumPy-Discussion mailing list