pandas to string column code example
Example 1: pandas change column to a string
total_rows['ColumnID'] = total_rows['ColumnID'].astype(str)
Example 2: pandas frame convert string
df['DataFrame Column'] = pd.to_numeric(df['DataFrame Column'])
total_rows['ColumnID'] = total_rows['ColumnID'].astype(str)
df['DataFrame Column'] = pd.to_numeric(df['DataFrame Column'])