I have an array like this:
array = [([476301.98163511883, 6176897.129456658],)
([476723.365551495, 6176895.078376785],)
([477124.59457628336, 6176893.28525448],)
([477525.82249430567, 6176891.306532074],)
([477927.0510582989, 6176889.4760845825],)
([477925.0121537624, 6176487.379134962],)
([477922.97333802003, 6176085.2824224755])]
All I'm trying to do is add 5 to the first number and 10 to the second. I tried this
for x in numpy.nditer(array, op_flags=['readwrite']):
x + numpy.array([5, 10])
Which gives TypeError: unsupported operand type(s) for +: 'numpy.ndarray' and 'numpy.ndarray'
Yet something like this works fine
b = numpy.array([0, 10])
x = numpy.array([10, 10])
c = x + b