I am working with numpy for the first time and am experiencing some very strange issues with floating-point arrays.
This is extremely basic and I am probably missing something very obvious here -- can anyone tell me what the problem is?
These two lines of code
arr1 = numpy.ndarray([1.0, 2.0])
print "arr1: ", arr1
produce this output:
arr1: [[ 1.49166815e-154 -1.32750723e-315]]
That's... not right. What am I doing wrong?
Thank you for any help!