Title: Mixing slices and individual labels to select along the same axis · Issue #429 · larray-project/larray · GitHub
Open Graph Title: Mixing slices and individual labels to select along the same axis · Issue #429 · larray-project/larray
X Title: Mixing slices and individual labels to select along the same axis · Issue #429 · larray-project/larray
Description: The idea is to be able to select a subset as follow: >>> arr = ndtest(6) >>> arr a a0 a1 a2 a3 a4 a5 0 1 2 3 4 5 >>> arr["a0:a2,a4"] a a0 a1 a2 a4 0 1 2 4 Is there any good reason why it doesn't work up to now? Current workaround is: >>>...
Open Graph Description: The idea is to be able to select a subset as follow: >>> arr = ndtest(6) >>> arr a a0 a1 a2 a3 a4 a5 0 1 2 3 4 5 >>> arr["a0:a2,a4"] a a0 a1 a2 a4 0 1 2 4 Is there any good reason why it doesn't wo...
X Description: The idea is to be able to select a subset as follow: >>> arr = ndtest(6) >>> arr a a0 a1 a2 a3 a4 a5 0 1 2 3 4 5 >>> arr["a0:a2,a4"] a a0 a1 a2 a4 0 1 2 4 Is th...
Opengraph URL: https://github.com/larray-project/larray/issues/429
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mixing slices and individual labels to select along the same axis","articleBody":"The idea is to be able to select a subset as follow:\r\n```python\r\n>>> arr = ndtest(6)\r\n>>> arr\r\na a0 a1 a2 a3 a4 a5\r\n 0 1 2 3 4 5\r\n>>> arr[\"a0:a2,a4\"]\r\na a0 a1 a2 a4\r\n 0 1 2 4\r\n```\r\nIs there any good reason why it doesn't work up to now?\r\n\r\nCurrent workaround is:\r\n```python\r\n>>> arr[X.a[\"a0:a2\"].union(X.a[\"a4\"])]\r\n```","author":{"url":"https://github.com/alixdamman","@type":"Person","name":"alixdamman"},"datePublished":"2017-09-18T12:59:08Z","url":"https://github.com/larray-project/larray/issues/429"}
| 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:01bca598-15fd-1b89-110b-fbde5fabd16d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9B6:73851:6F4B49:9A0C3B:6B002169 |
| html-safe-nonce | 832d809f055f24fa80a054da19e01571d150ecf447f56dc038538553c303ecce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUI2OjczODUxOjZGNEI0OTo5QTBDM0I6NkIwMDIxNjkiLCJ2aXNpdG9yX2lkIjoiNzU3MTU1NDc4NTU0ODEyNzc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 225a323aba0a8b5f1b793187c0a02f9abbc7e6e4ae31fa2286ebcdd54fa3113a |
| hovercard-subject-tag | issue:258470273 |
| 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/429/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6861676032183c822984a5e0990e760e718aa5637aa867210c9015cda8087bd4/larray-project/larray/issues/429 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6861676032183c822984a5e0990e760e718aa5637aa867210c9015cda8087bd4/larray-project/larray/issues/429 |
| og:image:alt | The idea is to be able to select a subset as follow: >>> arr = ndtest(6) >>> arr a a0 a1 a2 a3 a4 a5 0 1 2 3 4 5 >>> arr["a0:a2,a4"] a a0 a1 a2 a4 0 1 2 4 Is there any good reason why it doesn't wo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alixdamman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width