Search
 
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
Name
4+4 =