how to convert a column to a string in padnas code example Example: pandas change column to a string total_rows['ColumnID'] = total_rows['ColumnID'].astype(str)