convert pandas dataframe to integer code example Example: column dataframe to int df[[column_name]].astype(int)