You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I actually had fixed this in #6208, but I backpedaled because mutli-field subscripts work strangely (see #6053). My plan was to get #6053 in first, and then go back and enable this.
#6208 has already partially set up the fix: All that's left is to change the if(Py_Ustring_Check(ind) in voidtype_subscript to test for an array of strings too.
A structured ndarray can be indexed with multiple fields:
However, the corresponding
numpy.void
type cannot:The same is true for masked arrays.
For consistently,
numpy.void
with a structured dtype should support indexing with multiple fields exactly likenumpy.ndarray
does.The text was updated successfully, but these errors were encountered: