A

Admin • 802.91K Points
Coach

Q. What is returned by `df.columns`?

  • (A) List of row values
  • (B) List of column data types
  • (C) Index object of column labels
  • (D) Boolean mask
  • Correct Answer - Option(C)
  • Views: 4
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
`df.columns` returns an Index object containing the column labels.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.