Skip to content

2886. Change Data Type 👍

1
2
3
4
5
import pandas as pd


def changeDatatype(students: pd.DataFrame) -> pd.DataFrame:
  return students.astype({'grade': int})