[Numpy-discussion] itemsize() doesn't work

Dr. Phillip M. Feldman pfeldman at verizon.net
Thu Aug 20 20:46:43 EDT 2009


I've been reading the online NumPy tutorial at the following URL:

http://numpy.scipy.org/numpydoc/numpy-10.html

When I try the following example, I get an error message:

In [1]: a=arange(10)
In [2]: a.itemsize()
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
C:\Python\<ipython console> in <module>()
TypeError: 'int' object is not callable
-- 
View this message in context: http://www.nabble.com/itemsize%28%29-doesn%27t-work-tp25072522p25072522.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.




More information about the NumPy-Discussion mailing list