indexing bug
Bug #589921 reported by
kwgoodman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
larry |
New
|
Undecided
|
Unassigned |
Bug Description
Numpy arrays:
>> arr = np.array([1, 2, 3])
>> arr[[0,2]]
array([1, 3])
>> arr[[[0,2]]]
array([1, 3])
larry:
>> lar = la.larry([1, 2, 3])
>> lar[[0,2]]
label_0
0
2
x
array([1, 3])
>> lar[[[0,2]]]
<snip>
TypeError: int() argument must be a string or a number, not 'list'
To post a comment you must log in.