[Numpy-discussion] Numpy 'groupby'

Michael Hull mikehulluk@googlemail....
Wed Jan 11 03:41:22 CST 2012


Hi Everyone,
First off, thanks for all your hard work on numpy, its a really great help!
I was wondering if there was a standard 'groupby' in numpy, that
similar to that in itertools.
I know its not hard to write with np.diff, but I have found myself
writing it on more than a couple of occasions, and wondered if
 there was a 'standarised' version I was missing out on??
Thanks,


Mike


More information about the NumPy-Discussion mailing list