Given two ndarrays
old_set = [[0, 1], [4, 5]]
new_set = [[2, 7], [0, 1]]
I'm looking to get the mean of the respective values between the two arrays so that the data ends up something like:
end_data = [[1, 4], [2, 3]]
basically it would apply something like
for i in len(old_set):
end_data[i] = (old_set[i]+new_set[i])/2
But I'm unsure what syntax to use.. Thanks for the help in advance!