I have a dataframe:
date code result
2020-01-01 2069.0 Negative
2020-01-29 2069.0 Negative
2020-02-06 2069.0 Positive
2020-02-06 2070.0 Negative
2020-02-07 2070.0 Positive
Grouping by code, I want to find how many results = 'Positive', and how many results = 'Positive' AND 'Negative'. I'm quite new to pandas so I'm quite confused with all the functions that are available.
Thanks!