
In Excel I have the count with relative (not absolute) reference Historical Wins
= COUNTIFS($D3:$D$13,$D2,$E3:$E$13,1)
How do I loop through all of the rows, and counting the historical occurrences of wins (i.e. Pos = 1) that a particular trainer has in Python (exclude the current result)? Is this possible?