Q. Which method returns the number of non-null elements in each column or row?
β
Correct Answer: (A)
count()
Explanation: The count() method counts the number of non-null observations in each column or row.