[Numpy-discussion] will array(Python set) be ever implemented as cast method?
dmitrey
dmitrey.kroshko at scipy.org
Wed Oct 1 09:38:37 EDT 2008
hi all,
will array(Python set) (and asarray, asfarray etc) ever be implemented
as cast method?
Now it just puts the set into 1st element:
>>> asarray(set([11, 12, 13, 14]))
array(set([11, 12, 13, 14]), dtype=object)
>>> array(set([11, 12, 13, 14]))
array(set([11, 12, 13, 14]), dtype=object)
Currently I use array(list(my_set)) instead.
D.
More information about the NumPy-Discussion
mailing list