2008/7/18 Suchindra Sandhu <suchindra@gmail.com>:
> Can someone please explain to me this oddity?There's more than one int32 type lying around. Rather, compare *dtypes*:
>
> In [1]: import numpy as n
>
> In [8]: a = n.array((1,2,3), 'i')
>
> In [9]: type(a[0])
> Out[9]: <type 'numpy.int32'>
In [19]: a.dtype == np.int32
Out[19]: True
Regards
Stéfan
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion