Edit: Apologies I actually missed out on an important grouping of data. Thanks for those who already helped.
I have a data set that has missing data. I have filled the missing values with 0. Using Python and Pandas I am trying to get to a metric for each team, the % of Apps they are working on that are complete. My thought was to groupby on ColA, then do counts on Col C, but I cant figure out how to get counts of complete and counts of total to do the calculation. Any ideas are much appreciated.
So I want something that looks like this
Team A App1 High 0%
Team A App3 Med 100%
Team B App2 Med 0%
And so on.
My df looks like the following
+--------+-------+-------+----------+
| Col A | Col B | Col C | Col D |
+--------+-------+-------+----------+
| Team A | App1 | High | 0 |
| Team A | App1 | High | 0 |
| Team A | App3 | Med | Complete |
| Team B | App2 | Med | 0 |
| Team B | App2 | High | Complete |
| Team C | App1 | Low | Complete |
+--------+-------+-------+----------+