conversion code of python code example
Example 1: python: convert variable as character
df['myvar'] = df['myvar'].astype(str)
Example 2: python data type conversion
equationStrToInt = '8 * 8'
eval(equationStrToInt)
type(equationStrToInt)
print(equationStrToInt)
strToList = 'GREPPER'
list(strToList)
type(strToList)
print(strToList)