René's URL Explorer Experiment


Title: add support for dicts in compare · Issue #230 · larray-project/larray-editor · GitHub

Open Graph Title: add support for dicts in compare · Issue #230 · larray-project/larray-editor

X Title: add support for dicts in compare · Issue #230 · larray-project/larray-editor

Description: I just had to compare many sessions and naturally put them in a dict of sessions, then wanted to compare them and tried compare(dict_of_sessions) but it does not work (compare(dict_of_arrays) does not work either) but the workaround felt...

Open Graph Description: I just had to compare many sessions and naturally put them in a dict of sessions, then wanted to compare them and tried compare(dict_of_sessions) but it does not work (compare(dict_of_arrays) does ...

X Description: I just had to compare many sessions and naturally put them in a dict of sessions, then wanted to compare them and tried compare(dict_of_sessions) but it does not work (compare(dict_of_arrays) does ...

Opengraph URL: https://github.com/larray-project/larray-editor/issues/230

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"add support for dicts in compare","articleBody":"I just had to compare many sessions and naturally put them in a dict of sessions, then wanted to compare them and tried `compare(dict_of_sessions)` but it does not work (`compare(dict_of_arrays)` does not work either) but the workaround felt very clunky:\r\n\r\n```python\r\ncompare(*dict_of_arrays.values(), names=list(dict_of_arrays.keys()))\r\ncompare(*dict_of_sessions.values(), names=list(dict_of_sessions.keys()))\r\n```\r\n* the fact you have to pass values and names separately is annoying\r\n* the difference between *args for values and a single list argument of names is odd/surprising\r\n* the fact that names only accepts lists and not tuples or dictkeyview is the icing on the cake\r\n\r\nOn the other hand, I know that forever expanding the API is not a good idea, but I see this akin to what we support for rename, set_labels etc.\r\n\r\nMaybe we should deprecate the names= argument of compare (and possibly even the *args syntax) and instead replace it with:\r\n\r\n```python\r\ncompare(obj1, obj2=None)\r\n```\r\nwhich we could thus call either:\r\n```python\r\ncompare(obj1, obj2)\r\ncompare(dict)\r\n```","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2022-07-04T09:09:19Z","url":"https://github.com/larray-project/larray-editor/issues/230"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4037e3e0-7803-f916-ac17-f7136ec56fd0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id812C:3EE843:20A39C7:2C798F3:6B0025EC
html-safe-nonce2594ee7dd495de955fdb98a7ad337d9017b9036c7a00ffaad7b64669adf3954a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTJDOjNFRTg0MzoyMEEzOUM3OjJDNzk4RjM6NkIwMDI1RUMiLCJ2aXNpdG9yX2lkIjoiNjUwMDMxOTY3NzI4NDA5OTU2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4b82ce7f2b88a3fec333cd775c49066bac5307ace95ea74c6aefad9fe9340ccb
hovercard-subject-tagissue:1292865592
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/larray-project/larray-editor/230/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4f59d25f55591d184e5d7ca37ec31c803aef9881cea08e8171b65c0a68ef6d5f/larray-project/larray-editor/issues/230
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4f59d25f55591d184e5d7ca37ec31c803aef9881cea08e8171b65c0a68ef6d5f/larray-project/larray-editor/issues/230
og:image:altI just had to compare many sessions and naturally put them in a dict of sessions, then wanted to compare them and tried compare(dict_of_sessions) but it does not work (compare(dict_of_arrays) does ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegdementen
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-preview
go-importgithub.com/larray-project/larray-editor git https://github.com/larray-project/larray-editor.git
octolytics-dimension-user_id26460981
octolytics-dimension-user_loginlarray-project
octolytics-dimension-repository_id95664837
octolytics-dimension-repository_nwolarray-project/larray-editor
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id95664837
octolytics-dimension-repository_network_root_nwolarray-project/larray-editor
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/larray-project/larray-editor/issues/230#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flarray-project%2Flarray-editor%2Fissues%2F230
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flarray-project%2Flarray-editor%2Fissues%2F230
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=larray-project%2Flarray-editor
Reloadhttps://github.com/larray-project/larray-editor/issues/230
Reloadhttps://github.com/larray-project/larray-editor/issues/230
Reloadhttps://github.com/larray-project/larray-editor/issues/230
larray-projecthttps://github.com/larray-project
larray-editorhttps://github.com/larray-project/larray-editor
Codehttps://github.com/larray-project/larray-editor
Issues64 (64)https://github.com/larray-project/larray-editor/issues
Pull requests1 (1)https://github.com/larray-project/larray-editor/pulls
Actionshttps://github.com/larray-project/larray-editor/actions
Projectshttps://github.com/larray-project/larray-editor/projects
Security and qualityhttps://github.com/larray-project/larray-editor/security
Insightshttps://github.com/larray-project/larray-editor/insights
https://github.com/larray-project/larray-editor
New issuehttps://github.com/login?return_to=https://github.com/larray-project/larray-editor/issues/230
New issuehttps://github.com/login?return_to=https://github.com/larray-project/larray-editor/issues/230
add support for dicts in comparehttps://github.com/larray-project/larray-editor/issues/230#top
difficulty: lowhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22difficulty%3A%20low%22
enhancementhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22enhancement%22
syntaxhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22syntax%22
0.35https://github.com/larray-project/larray-editor/milestone/17
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Jul 4, 2022https://github.com/larray-project/larray-editor/issues/230#issue-1292865592
gdementenhttps://github.com/gdementen
enhancementhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22enhancement%22
questionhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22question%22
syntaxhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22syntax%22
on Jul 4, 2022https://github.com/larray-project/larray-editor/issues/230#event-6926290893
gdementenhttps://github.com/gdementen
difficulty: lowhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22difficulty%3A%20low%22
questionhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22question%22
on Sep 23, 2022https://github.com/larray-project/larray-editor/issues/230#event-7445660686
gdementenhttps://github.com/gdementen
on Sep 23, 2022https://github.com/larray-project/larray-editor/issues/230#event-7447419527
gdementenhttps://github.com/gdementen
questionhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22question%22
on Sep 23, 2022https://github.com/larray-project/larray-editor/issues/230#event-7447455694
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Sep 23, 2022https://github.com/larray-project/larray-editor/issues/230#issuecomment-1256220405
https://github.com/alixdamman
alixdammanhttps://github.com/alixdamman
on Sep 23, 2022https://github.com/larray-project/larray-editor/issues/230#issuecomment-1256284171
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Nov 28, 2022https://github.com/larray-project/larray-editor/issues/230#issuecomment-1328953972
#247https://github.com/larray-project/larray-editor/issues/247
gdementenhttps://github.com/gdementen
questionhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22question%22
on Oct 5, 2023https://github.com/larray-project/larray-editor/issues/230#event-10562384588
gdementenhttps://github.com/gdementen
0.35https://github.com/larray-project/larray-editor/milestone/17
on Oct 5, 2023https://github.com/larray-project/larray-editor/issues/230#event-10562385453
gdementenhttps://github.com/gdementen
work in progresshttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22work%20in%20progress%22
on Dec 1, 2025https://github.com/larray-project/larray-editor/issues/230#event-21275343341
gdementenhttps://github.com/gdementen
on Dec 2, 2025https://github.com/larray-project/larray-editor/issues/230#event-21301058807
FEAT: allow comparing a dict of Arrays or Sessions (closes #230)https://github.com/larray-project/larray-editor/commit/19b3c96e40d2733fe9da2ef796c3e85fd503759f
#230https://github.com/larray-project/larray-editor/issues/230
https://docs.github.com/articles/closing-issues-via-commit-messages
19b3c96https://github.com/larray-project/larray-editor/commit/19b3c96e40d2733fe9da2ef796c3e85fd503759f
gdementenhttps://github.com/gdementen
on Dec 12, 2025https://github.com/larray-project/larray-editor/issues/230#event-21533170927
FEAT: allow comparing a dict of Arrays or Sessions (closes larray-pro…https://github.com/gdementen/larray-editor/commit/e616d19d00c7a7f4c77baff3b4b00a02d84ee285
larray-pro…https://github.com/larray-project/larray-editor/issues/230
https://docs.github.com/articles/closing-issues-via-commit-messages
e616d19https://github.com/gdementen/larray-editor/commit/e616d19d00c7a7f4c77baff3b4b00a02d84ee285
gdementenhttps://github.com/gdementen
completedhttps://github.com/larray-project/larray-editor/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
38b353dhttps://github.com/larray-project/larray-editor/commit/38b353d7cbe089c2dfaa6f2baabac87d07977327
on Dec 12, 2025https://github.com/larray-project/larray-editor/issues/230#event-21533297053
gdementenhttps://github.com/gdementen
on Jan 7, 2026https://github.com/larray-project/larray-editor/issues/230#event-21899208629
FEAT: allow comparing a dict of Arrays or Sessions (closes larray-pro…https://github.com/gdementen/larray-editor/commit/38b353d7cbe089c2dfaa6f2baabac87d07977327
larray-pro…https://github.com/larray-project/larray-editor/issues/230
https://docs.github.com/articles/closing-issues-via-commit-messages
38b353dhttps://github.com/gdementen/larray-editor/commit/38b353d7cbe089c2dfaa6f2baabac87d07977327
gdementenhttps://github.com/gdementen
work in progresshttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22work%20in%20progress%22
on Feb 2, 2026https://github.com/larray-project/larray-editor/issues/230#event-22462844568
Sign up for freehttps://github.com/signup?return_to=https://github.com/larray-project/larray-editor/issues/230
Sign in to commenthttps://github.com/login?return_to=https://github.com/larray-project/larray-editor/issues/230
difficulty: lowhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22difficulty%3A%20low%22
enhancementhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22enhancement%22
syntaxhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22syntax%22
0.35https://github.com/larray-project/larray-editor/milestone/17
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.