S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which method allows conditional selection of rows in a DataFrame?

  • (A) loc[]
  • (B) iloc[]
  • (C) ix[]
  • (D) select_rows()
  • Correct Answer - Option(A)
  • Views: 131
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
The loc[] indexer allows filtering rows and selecting columns based on labels and conditions.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics