πŸ“Š Pandas
Q. Which method is used to change the data type of a column in pandas?
  • (A) astype()
  • (B) convert()
  • (C) change_type()
  • (D) dtype()
πŸ’¬ Discuss
βœ… Correct Answer: (A) astype()

Explanation: The astype() method converts a column or Series to a specified data type.

Explanation by: Sikhar Chaudhary
The astype() method converts a column or Series to a specified data type.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
70
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
91%
Success Rate