## Unexpected 32-bit integer overflow in pandas/numpy int64 (python 3.6)

Let me start with the example code:
import numpy
from pandas import DataFrame
a = DataFrame({"nums": [2233, -23160, -43608]})
a.nums = numpy.int64(a.nums)
print(a.nums ** 2)
print((a.nums ** 2).sum())
On my local machine, and other devs' machin...

more
»