pandas column to str code example
Example 1: pandas change column to a string
total_rows['ColumnID'] = total_rows['ColumnID'].astype(str)
Example 2: pandas - from umeric to string
df['A'] = df['A'].apply(str)
total_rows['ColumnID'] = total_rows['ColumnID'].astype(str)
df['A'] = df['A'].apply(str)