I have two arrays, for example:
array1=numpy.array([1.1, 2.2, 3.3]) array2=numpy.array([1, 2, 3])
How can I find the difference between the
This is pretty simple with numpy, just subtract the arrays:
numpy
diffs = array1 - array2
I get:
diffs == array([ 0.1, 0.2, 0.3])