[Numpy-discussion] Dealing with arrays

Olivier Delalleau shish@keba...
Tue Sep 20 11:00:51 CDT 2011


2011/9/20 DIPO ELEGBEDE <dipo.elegbede@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.scipy.org/pipermail/numpy-discussion/attachments/20110920/1d240e42/attachment.html 


More information about the NumPy-Discussion mailing list