31 Aug
2011
31 Aug
'11
12:34 p.m.
Hello,
Is the following behavior normal?
In [1]: import numpy as np
In [2]: np.dtype([('a','
31 Aug
31 Aug
12:42 p.m.
On Tue, Aug 30, 2011 at 10:34 PM, Thomas Robitaille < thomas.robitaille@gmail.com> wrote:
Hello,
Is the following behavior normal?
In [1]: import numpy as np
In [2]: np.dtype([('a','
In [3]: np.dtype([('a','
I.e. in the second case, the second dimension of the dtype (1) is being ignored? Is there a way to avoid this?
Use a tuple to specify the dimension:
In [11]: dtype([('a', ' Thanks,
Thomas
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
4619
Age (days ago)
4619
Last active (days ago)
1 comments
2 participants
participants (2)
-
Thomas Robitaille
-
Warren Weckesser