[Numpy-discussion] will array(Python set) be ever implemented as cast method?

Travis E. Oliphant oliphant@enthought....
Wed Oct 1 08:59:41 CDT 2008


dmitrey wrote:
> hi all,
> will array(Python set) (and asarray, asfarray etc) ever be implemented 
> as cast method?
>   
Use fromiter instead.    We could special case set objects in array(...) 
if that is deemed desirable.  

-Travis




More information about the Numpy-discussion mailing list