Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

converting a csv into python list

import csv
with open('records.csv', 'r') as f:
  file = csv.reader(f)
  my_list = list(file)
print(my_list)
Source by www.edureka.co #
 
PREVIOUS NEXT
Tagged: #converting #csv #python #list
ADD COMMENT
Topic
Name
4+1 =