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

Skip Montanaro skip.montanaro at gmail.com
Tue Jul 5 08:31:09 EDT 2016


> Except it doesn’t seem to meet your original spec, which retrieved
> the first item of each *run* of an index value?

No, just what I was looking for. As I indicated in my original
post, "I'm probably going to botch the description..." It's quite
likely that my problem specification wasn't as crisp as it should
have been.

S


More information about the NumPy-Discussion mailing list