Python: преобразовать переменную как символ
df['myvar'] = df['myvar'].astype(str)
Andrea Perlato
df['myvar'] = df['myvar'].astype(str)
equationStrToInt = '8 * 8'
eval(equationStrToInt)
type(equationStrToInt)
print(equationStrToInt)
strToList = 'GREPPER'
list(strToList)
type(strToList)
print(strToList)