What is the efficient numpy way to compare data from two different files?  For 
the nth line in each file I want to operate on the numbers.   I've been using 
loadtxt()

data_5x5 = N.loadtxt("file5")

data_8x8 = N.loadtxt("file8")

for line in data_5x5:
        pos5 = N.array([line[0], line[1],  line[2]])

This works fine for one file but how to I get the same line's worth of data 
from the other file?




_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to