On Fri, Mar 21, 2014 at 8:26 PM, Alan G Isaac <[email protected]> wrote:
> The documentation of numpy.unique > http://docs.scipy.org/doc/numpy/reference/generated/numpy.unique.html > does not seem to promise that return_index=True will always index the > *first* occurrence of each unique item, which I believe is the current > behavior. > > A promise would be nice. > Is it intended? > AFAIU it's not, or it was in version, but shouldn't be. ?? I think this broke return_inverse in some cases if both were set to true I haven't kept track of the problems, and the code still seems to be the same that was changed to stable sorting. Josef > > Alan Isaac > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
