array from list of lists

Stefan van der Walt stefan at sun.ac.za
Mon Nov 13 15:50:13 CST 2006


On Mon, Nov 13, 2006 at 02:29:11PM -0700, Tim Hochberg wrote:
> Erin Sheldon wrote:
> > On 11/13/06, Tim Hochberg <tim.hochberg at ieee.org> wrote:
> >   
> >> Here's one more approach that's marginally faster than the map based
> >> solution and also won't chew up an extra memory since it's based on from
> >> iter:
> >>
> >> numpy.fromiter(itertools.imap(tuple, results), dtype=mydescriptor,
> >> count=len(results))
> >>     
> >
> > Yes, this is what I need.  BTW, there is no doc string for this. 
> Yeah, I noticed that too. I swear I wrote one at one point I'm not sure 
> what happened to it. Sigh.

A typo slipped into add_newdocs.py.  Fixed in SVN.

Cheers
Stéfan

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Numpy-discussion mailing list