find max and min values from a column of a csv file

prakash jp prakash.stack at
Tue Jul 19 11:12:38 CEST 2011

Thanks for the suggestions. Felt the thread could be of help on
consolidating the solution.

*Max Value from a csv column:*

import numpy
data1 = numpy.genfromtxt("data.csv",dtype='float',delimiter =
',',skiprows=1, skip_header=0, skip_footer=0,
#print data1
print data1.max()

Plz go through the below link to understand further on the arguments taken
by numpy.genfromtxt():

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list