Столбец DataFrame to String
total_rows['ColumnID'] = total_rows['ColumnID'].astype(str)
Embarrassed Elk
total_rows['ColumnID'] = total_rows['ColumnID'].astype(str)
df["fruit"] = df["fruit"].astype("|S")