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

Dr. Phillip M. Feldman pfeldman@verizon....
Thu Aug 20 19:46:43 CDT 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