Question 27
Based on the above data, answer the given subquestions.
What is the output of the following code snippet:
def getPassing(aRow): if aRow['Maths']>=40 and aRow['History']>=40: return True return False
df.apply(getPassing).sum()Enter -1, if you think the above statement will generate an error.