Re: Pandas rookie

2020-02-20 Thread musbur
On Wed, 19 Feb 2020 17:15:59 -0500 FilippoM wrote: > How can I use Pandas' dataframe magic to calculate, for each of the > possible 109 values, how many have VIDEO_OK, and how many have > VIDEO_FAILURE I have respectively? crosstab() -- https://mail.python.org/mailman/listinfo/python-list

Pandas rookie

2020-02-19 Thread FilippoM
Hi, I've got a Pandas data frame that looks like this In [69]: data.head Out[69]: with 109 possible values of the OS columns and just two possible values ()VIDEO_OK and VIDEO_FAILURE) in the status column. How can I use Pandas' dataframe magic to calculate, for each of the possible 109 valu