DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas read columns as list
from ast import literal_eval df.Col3 = df.Col3.apply(literal_eval) print(df.Col3[0][0]) Proj1
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pandas
#read
#columns
#list
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit