human
type conversion in python from int to float
assistant
Here is some code to change data type of data in column 'grade' of dataframe `data_df` into float and then to int

data_df['grade'] = data_df['grade'].astype(float).astype(int)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.