I am new to Pandas library and need some help. I have two columns like this:
Test Result Risk Rating
Fail Low
Pass Medium
Skip High
Pass Low
Fail Medium
Pass High
Skip Low
Fail Medium
Fail High
Now, I need to find the total count of Fail, Pass and Skip from "Test Result" column and I am able to do it. But, I also need to get the total number of "Fail" from Test Result column with "Low" from Risk Rating column. Similarly, total number of Fail with Medium and so on. My final result should look like:
Fail (Low Risk Rating) = 1
Fail (Medium Risk Rating) = 2
Fail (High Risk Rating) = 1
Pass (Low Risk Rating) = 1
Pass (Medium Risk Rating) = 1
Pass (High Risk Rating) = 1
Skip (Low Risk Rating) = 1
Skip (Medium Risk Rating) = 0
Skip (High Risk Rating) = 1
How can I do this? Any help would be appreciated.