I loaded a text file containing a two-column matrix (e.g. below)
My calculation is just to sum each row i.e. 1+3, 2+4, 3+5 and 2+0. I am using the below code:
## to load the above two column
xy= data for XY in xy:
But I received an error saying numpy.ndarray object is not callable. Why does this happen? How can I do this simple calculation? Thanks.