[Numpy-discussion] NumPy-Discussion Digest, Vol 148, Issue 27

Yuping Wang wyupinghhu at 163.com
Wed Jan 30 01:06:31 EST 2019


 I start to learn python from 《Numpy Beginner's Guide》second edition  written by Ivan Idris
now I know what the problem is ,the reason is that  Numpy converts 2000 to an `int32`.When I use code `a=np.arange(2000, dtype='int64')**3 that you taught me, the calculation is correct thank you all ! Yuping Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190130/38b00683/attachment.html>


More information about the NumPy-Discussion mailing list