Hello!
I have this script that scans a csv file and if the value in the first column
== 200 it saves that row into an array.
The problem is, I need to save that row and the next 10 rows in that same
array. What can I add to the script so it does that? I tried to do for row in
len(10): but I get an error.
p = csv.reader(open('file.csv'), delimiter=';')
a=[0]*2881
a = numpy.array(a, dtype=dict)
for row in p:
if row[0]=="200":
a=row
break
print a
--
http://mail.python.org/mailman/listinfo/python-list