On Tue, May 27, 2014 at 12:27 PM, Nicolas Rougier <nicolas.roug...@inria.fr>wrote:
> Any other tricky stride_trick tricks ? I promised to put them in the > master section. > > It doesn't use stride_tricks, and seberg doesn't quite like it, but this made the rounds in StackOverflow a couple of years ago: http://stackoverflow.com/questions/16970982/find-unique-rows-in-numpy-array/16973510#16973510 It may not work properly on floats, but I think it is a very cool use of dtypes. Then again I'm obviously biased... Jaime -- (\__/) ( O.o) ( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes de dominación mundial.
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion