oyekomova wrote: > I would like to know how to read a CSV file with a header ( n columns > of float data) into an array without the header row. > import csv
l = []
for line in csv.reader(open("my.csv").readlines()[1:]):
l.append(line)
Which really gets you a list of lists.
--
Posted via a free Usenet account from http://www.teranews.com
--
http://mail.python.org/mailman/listinfo/python-list
