Q. Which method is used to count non-null values in a DataFrame?
β
Correct Answer: (A)
count()
Explanation: The count() method returns the number of non-NA/null values for each column or row.