Re: Read CSV file into an array

2007-01-10 Thread Tobiah
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 v

Re: Read CSV file into an array

2007-01-09 Thread Robert Kern
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. Did you read our responses from the last time you asked this question? -- Robert Kern "I have come to believe that the whole world is an enigma, a harm

Read CSV file into an array

2007-01-09 Thread oyekomova
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. -- http://mail.python.org/mailman/listinfo/python-list