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

  • (A) dtypes
  • (B) info()
  • (C) type()
  • (D) datatype()
πŸ’¬ Discuss
βœ… Correct Answer: (A) dtypes
Explanation: The dtypes attribute shows the data type of each column in a DataFrame.
Explanation by: Sikhar Chaudhary
The dtypes attribute shows the data type of each column in a DataFrame.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
88
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
89%
Success Rate