python convert all values of dataframe to int code example Example: column dataframe to int df[[column_name]].astype(int)