Answers for "Pandas interpret cells as list"

0

Pandas interpret cells as list

>>> from ast import literal_eval
>>> literal_eval('[1.23, 2.34]')
[1.23, 2.34]
Posted by: Guest on October-05-2020

Python Answers by Framework

Browse Popular Code Answers by Language