S

Sikhar Chaudhary • 5.88K Points
Tutor III

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: 24
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
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.


Question analytics