Q. Which method allows conditional selection of rows in a DataFrame?
β
Correct Answer: (A)
loc[]
Explanation: The loc[] indexer allows filtering rows and selecting columns based on labels and conditions.