Title: deprecate iterable of items (tuples) in most methods · Issue #1143 · larray-project/larray · GitHub
Open Graph Title: deprecate iterable of items (tuples) in most methods · Issue #1143 · larray-project/larray
X Title: deprecate iterable of items (tuples) in most methods · Issue #1143 · larray-project/larray
Description: meta, rename, reindex, set_axes, Session, stack and possibly others support list (iterables?) of tuples in addition to dicts. while I am not super confident about #1142, I am pretty confident about this one. Ever since dicts preserve ord...
Open Graph Description: meta, rename, reindex, set_axes, Session, stack and possibly others support list (iterables?) of tuples in addition to dicts. while I am not super confident about #1142, I am pretty confident about...
X Description: meta, rename, reindex, set_axes, Session, stack and possibly others support list (iterables?) of tuples in addition to dicts. while I am not super confident about #1142, I am pretty confident about...
Opengraph URL: https://github.com/larray-project/larray/issues/1143
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"deprecate iterable of items (tuples) in most methods","articleBody":"meta, rename, reindex, set_axes, Session, stack and possibly others support list (iterables?) of tuples in addition to dicts.\n\nwhile I am not super confident about #1142, I am pretty confident about this one. Ever since dicts preserve order, the list of tuples syntax has lost its main interest I think. It is longer to type and I don't think there is any significant performance difference either way.\n\nFor this issue, I would like to try deprecating it and see how it goes (do we use it internally, etc.).\n\nThe only downside I can see is the support for duplicated keys. For meta, rename, reindex, set_axes and Session, this is not a problem because we never supported (and will never support) duplicated keys in those contexts. For stack, we might need to keep that syntax specifically to allow duplicated labels (and possibly add explicit unit tests about them).","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2025-11-25T10:14:47Z","url":"https://github.com/larray-project/larray/issues/1143"}
| 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:74c3c0ad-f9af-742e-3225-ac9e3364ee7e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB52:1DA187:2E3C856:3CFA113:6B001F7E |
| html-safe-nonce | b7413bae2e6cf6857cdd7bf32049347c8b6273d2498daf4cc219fadb2e2e5ff0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjUyOjFEQTE4NzoyRTNDODU2OjNDRkExMTM6NkIwMDFGN0UiLCJ2aXNpdG9yX2lkIjoiOTA3MjI1MDIyMTMxNjAyMjE0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5433dec1e67d56b842b25424fcc27e3682e64af39ee454570848be29ee77ab82 |
| hovercard-subject-tag | issue:3662385818 |
| 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/1143/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1497bf4c5004140038756ee5349e91add2d5526154e4e9c37417f367b7c9bae5/larray-project/larray/issues/1143 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1497bf4c5004140038756ee5349e91add2d5526154e4e9c37417f367b7c9bae5/larray-project/larray/issues/1143 |
| og:image:alt | meta, rename, reindex, set_axes, Session, stack and possibly others support list (iterables?) of tuples in addition to dicts. while I am not super confident about #1142, I am pretty confident about... |
| 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 | 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width