Answers for "how to read first column of csv intro a list python"

0

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]
Posted by: Guest on June-04-2020

Code answers related to "how to read first column of csv intro a list python"

Python Answers by Framework

Browse Popular Code Answers by Language