|
From: Colin J. W. <cj...@sy...> - 2005-10-07 18:47:36
|
# temp.py
import scipy.base as num3
a= num3.array([[1, 2], [9, 8]])
print a.typecode
C:\>python temp.py
Traceback (most recent call last):
File "temp.py", line 4, in ?
print a.typecode
AttributeError: 'scipy.ndarray' object has no attribute 'typecode'
Is there any simple way to retrieve the dataType, as with numarray's
numerictypes?
Colin W.
|