Q. Which method returns the index labels of a Series or DataFrame where values are True?
β
Correct Answer: (A)
where()
Explanation: The where() method returns elements or indexes where a condition is True, often used with boolean masks.