So I am trying to turn my float numpy array to integers. But when I do so:
array.astype(np.uint64)
it changes this array:
[ 550. 514. 451. 494. 490. 500. ...]
to this one:
[549 513 450 493 489 499 ... ]
So, I was wondering if any of you had an idea of why this is? I have to get np.uint64
as output for the code I am using next.
Thank you in advance.