I have multiple files with thousands of rows that I need to compare.
for example I want to do subtraction file3 = file2 - file1,
file1
1 10 5
2 20 4
3 30 3
file2
5 20 10
6 30 10
7 40 10
file3 would be
4 10 5
4 10 6
4 10 7
I wonder what is the best way to do this type of calculations. I am trying Python, but I am having a hard time to read the file to python to make it the proper kind of array for calculation. Thanks.