Title: Indexing an array with an object dtype axis using an Array fails · Issue #1203 · larray-project/larray · GitHub
Open Graph Title: Indexing an array with an object dtype axis using an Array fails · Issue #1203 · larray-project/larray
X Title: Indexing an array with an object dtype axis using an Array fails · Issue #1203 · larray-project/larray
Description: Very high priority, because it is a regression from 0.34.6 and prevents Pension from working on latest larray version. >>> a = Axis('a=a0,a1') >>> b = Axis('b=10,15') >>> c = Axis('c=1..3') >>> arr = ndtest((a, b, c)) >>> idx = full((c, ...
Open Graph Description: Very high priority, because it is a regression from 0.34.6 and prevents Pension from working on latest larray version. >>> a = Axis('a=a0,a1') >>> b = Axis('b=10,15') >>> c = Axis('c=1..3') >>> arr...
X Description: Very high priority, because it is a regression from 0.34.6 and prevents Pension from working on latest larray version. >>> a = Axis('a=a0,a1') >>> b = Axis('b=10,15...
Opengraph URL: https://github.com/larray-project/larray/issues/1203
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Indexing an array with an object dtype axis using an Array fails","articleBody":"Very high priority, because it is a regression from 0.34.6 and prevents Pension from working on latest larray version.\n```python\n>>> a = Axis('a=a0,a1')\n>>> b = Axis('b=10,15')\n>>> c = Axis('c=1..3')\n>>> arr = ndtest((a, b, c))\n>>> idx = full((c, b), 2)\n>>> arr[idx]\n a b\\c 1 2 3\na0 10 1 1 1\na0 15 4 4 4\na1 10 7 7 7\na1 15 10 10 10\n>>> a = Axis('a=a0,a1').astype(object)\n>>> arr = ndtest((a, b, c))\n>>> arr[idx]\nTypeError: unhashable type: 'numpy.ndarray'\n>>> arr[X.c[idx]]\n a b\\c 1 2 3\na0 10 1 1 1\na0 15 4 4 4\na1 10 7 7 7\na1 15 10 10 10\n```","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2026-09-03T15:26:28Z","url":"https://github.com/larray-project/larray/issues/1203"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ab7f8217-4efe-b11a-d9a3-9639eb2c142a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A0F0:2714DE:21224B6:2CC3CBC:6B0019A7 |
| html-safe-nonce | c12906fa764b20ed7ba8212f97a29b29de040624b959ec6ada7360074d2c4a0a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEYwOjI3MTRERToyMTIyNEI2OjJDQzNDQkM6NkIwMDE5QTciLCJ2aXNpdG9yX2lkIjoiNzMxODkxMjkzNDYzNjE2NTU0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a10aad684f6fb25ca28f49deb16e50050a1eb61648b9c4d8216bb319c87ffb3f |
| hovercard-subject-tag | issue:5338384249 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/larray-project/larray/1203/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d3a10e9f4af7eed356eb29bafcb80ce99d27ab46210178ec52ae394c0d2bfede/larray-project/larray/issues/1203 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d3a10e9f4af7eed356eb29bafcb80ce99d27ab46210178ec52ae394c0d2bfede/larray-project/larray/issues/1203 |
| og:image:alt | Very high priority, because it is a regression from 0.34.6 and prevents Pension from working on latest larray version. >>> a = Axis('a=a0,a1') >>> b = Axis('b=10,15') >>> c = Axis('c=1..3') >>> arr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gdementen |
| hostname | github.com |
| expected-hostname | github.com |
| None | a2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4 |
| turbo-cache-control | no-preview |
| go-import | github.com/larray-project/larray git https://github.com/larray-project/larray.git |
| octolytics-dimension-user_id | 26460981 |
| octolytics-dimension-user_login | larray-project |
| octolytics-dimension-repository_id | 16981067 |
| octolytics-dimension-repository_nwo | larray-project/larray |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16981067 |
| octolytics-dimension-repository_network_root_nwo | larray-project/larray |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 70121d4e855ee0bb7b75cf15d061d91f8863c0f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width