[Python-ideas] Re: Pandas rookie

2020-02-20 Thread David Mertz
This last is for discussion of changes to the Python language itself, in particular the CPython reference implementation. Python-list or a Pandas forum are appropriate for this question. That said, it sounds like you want df.value_counts(). But if not, follow-up in a more relevant place. On Thu,

[Python-ideas] Re: Pandas rookie

2020-02-20 Thread James Lu
On Wed, Feb 19, 2020 at 5:23 PM FilippoM wrote: > > Hi, I've got a Pandas data frame that looks like this > > In [69]: data.head > Out[69]: > 0 AndroidVIDEO_OK > 1 Android 4.2.2 VIDEO_OK > 2 Android 9 VIDEO_OK > 3 iOS 13.3 VIDEO_OK > 4