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

Travis E. Oliphant oliphant at enthought.com
Wed Oct 1 09:59:41 EDT 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