2886. Change Data Type ¶ Python 1 2 3 4 5import pandas as pd def changeDatatype(students: pd.DataFrame) -> pd.DataFrame: return students.astype({'grade': int}) Was this page helpful? Thanks for your feedback! Thanks for your feedback! Help us improve this page by using our feedback form.