Q. Which method returns the first non-null value in each column?
β
Correct Answer: (B)
first_valid_index()
Explanation: The first_valid_index() method returns the index of the first non-null value for a Series or DataFrame column.