Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to read first column of csv intro a list python

with open("mylist.csv") as f:
    list2 = [row.split()[0] for row in f]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #column #csv #intro #list #python
ADD COMMENT
Topic
Name
3+1 =