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

2019-01-29 Thread Yuping Wang
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 ! Yu

[Numpy-discussion] Numpy-discussion

2019-01-28 Thread Yuping Wang
Dear Nmupy developers and users: I am a new user of Numpy ,I have encountered a question about Numpy recently, which need your help. The question is below: I don know why there are negative numbers can somebody explain to me why these happens Thanks in advan