[Numpy-discussion] Strange behavior of operator *=
Paul Anton Letnes
paul.anton.letnes at gmail.com
Tue Apr 5 09:48:08 EDT 2011
On 5. apr. 2011, at 15.39, Alan G Isaac wrote:
> On 4/5/2011 9:26 AM, François Steinmetz wrote:
>> It does not change the dtype, 'int' is just interpreted as 'int64' :
> So the meaning of 'int' is system specific?
>>>> import numpy as np; a=np.eye(2,dtype='int'); a.dtype
> Alan Isaac
'int' is system specific, 'int32' and 'int64' is not. At least, as far as I can tell.
More information about the NumPy-Discussion