[Numpy-discussion] fast method to to count a particular value in a large matrix

David Cournapeau cournape@gmail....
Mon Feb 6 16:16:29 CST 2012


On Mon, Feb 6, 2012 at 1:17 AM, Wes McKinney <wesmckinn@gmail.com> wrote:

>
> Whenever I get motivated enough I'm going to make a pull request on
> NumPy with something like khash.h and start fixing all the O(N log N)
> algorithms floating around that ought to be O(N). NumPy should really
> have a "match" function similar to R's and a lot of other things.

khash.h is not the only thing that I'd like to use in numpy if I had
more time :)

David


More information about the NumPy-Discussion mailing list