Long list to numeric multi-D array

Josiah Carlson jcarlson at nospam.uci.edu
Thu Feb 5 21:27:39 CET 2004


Stephen Boulet wrote:

> I have a long list of floats (1613808 elements long). It takes quite a 
> while to load this into a 7 dimensional Numeric array.
> 
> Is there any obvious way to speed this up?
> 


Perhaps reshape will be able to solve this problem for you.  I hear it 
is very fast.

  - Josiah



More information about the Python-list mailing list