change string to value python code example
Example 1: python: convert variable as character
df['myvar'] = df['myvar'].astype(str)
Example 2: how to convert int in python
score = 89
score = str(score)
df['myvar'] = df['myvar'].astype(str)
score = 89
score = str(score)