[Numpy-discussion] Picking rows with the first (or last) occurrence of each key

Juan Nunez-Iglesias jni.soma at gmail.com
Tue Jul 5 00:49:41 EDT 2016

On 4 July 2016 at 7:38:48 PM, Skip Montanaro (skip.montanaro at gmail.com)

Oh, cool. Precisely the sort of solution I was hoping would turn up.

Except it doesn’t seem to meet your original spec, which retrieved the
first item of each *run* of an index value?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20160705/3bcaf4ac/attachment.html>

More information about the NumPy-Discussion mailing list