[Numpy-discussion] unique() should return a sorted array
david.huard at gmail.com
Thu Jun 22 11:26:52 CDT 2006
Numpy's unique(x) returns an array x with repetitions removed. However,
since it returns asarray(dict.keys()), the resulting array is not sorted,
worse, the original order may not be conserved. I think that unique() should
return a sorted array, like its matlab homonym.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion