Q. Which method is used to change the data type of a column in pandas?
β
Correct Answer: (A)
astype()
Explanation: The astype() method converts a column or Series to a specified data type.