S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which method returns the data type of each column in a DataFrame?

  • (A) dtypes
  • (B) info()
  • (C) type()
  • (D) datatype()
  • Correct Answer - Option(A)
  • Views: 20
  • Filed under category Pandas
  • Hashtags:

Explanation by: Shyam Dubey

The dtypes attribute shows the data type of each column in a DataFrame.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.