A44 = SOMMEPROD ((Date_A>Date_B)*((Team_A=Team_B)*(stats_G)))
Can someone throw code for this excel to python Pandas SUMPRODUCT