A

Admin • 828.03K Points
Coach

Q. What is the output of `df.iloc[:, 0]`?

  • (A) First row
  • (B) First column
  • (C) Last column
  • (D) Last row
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
`iloc[:, 0]` selects all rows from the first column.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.