I have two files of exactly the same size and same number of columns. I want to add the i^th column of the 1st file to the i^th column of the 2nd file. Is their a neat way for doing this with python?
file1
a a a a a a
a a a a a a
a a a a a a
file2
b b b b b b
b b b b b b
b b b b b b
I want:
(a+b) (a+b) (a+b) (a+b) (a+b) (a+b)
(a+b) (a+b) (a+b) (a+b) (a+b) (a+b)
(a+b) (a+b) (a+b) (a+b) (a+b) (a+b)
EDIT: The above is just a simplification of a more complicated problem of mine. Each file has thousands of rows and I have many files (~100) to perform this kind of operation on.