[Numpy-discussion] Numpy 'groupby'

Neal Becker ndbecker2@gmail....
Wed Jan 11 06:05:33 CST 2012


Michael Hull wrote:

> 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

I've played with groupby in pandas.



More information about the NumPy-Discussion mailing list