[SciPy-user] compare two csv files

Fabian Braennstroem f.braennstroem@gmx...
Tue Jan 22 14:58:40 CST 2008


Hi,
I would like to compare two csv file; actually two columns 
from two csv files.
I would use something like:
def read_test():
     start  = time.clock()
     reader = csv.reader( file('data.txt') )
     data   = [ map(float, row) for row in reader ]
     data   = array(data, dtype = float)

To get my data into an array.

Does anyone have an idea, how to compare the two columns?
Would be nice!
Fabian



More information about the SciPy-user mailing list