indexing of rank-0 structured arrays: why not?
10 Jan
2011
10 Jan
'11
10:08 a.m.
Hi,
I noticed that I can index into a dtype when I take an element
of a rank-1 array but not if I make a rank-0 array directly. This seems
inconsistent. A bug?
Nils
In [76]: np.version.version
Out[76]: '1.5.1'
In [78]: dt = np.dtype([('x', '
4827
Age (days ago)
4827
Last active (days ago)
1 comments
2 participants
participants (2)
-
Nils Becker
-
Robert Kern