René's URL Explorer Experiment


Title: align sessions · Issue #501 · larray-project/larray · GitHub

Open Graph Title: align sessions · Issue #501 · larray-project/larray

X Title: align sessions · Issue #501 · larray-project/larray

Description: Here is some preliminary code: from larray.util.misc import unique_list def align(*sessions, join='outer', fill_value=nan): # TODO: support n sessions assert len(sessions) == 2 if not all(isinstance(s, Session) for s in sessions): raise ...

Open Graph Description: Here is some preliminary code: from larray.util.misc import unique_list def align(*sessions, join='outer', fill_value=nan): # TODO: support n sessions assert len(sessions) == 2 if not all(isinstanc...

X Description: Here is some preliminary code: from larray.util.misc import unique_list def align(*sessions, join='outer', fill_value=nan): # TODO: support n sessions assert len(sessions) == 2 if not all(i...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"align sessions","articleBody":"Here is some preliminary code:\r\n\r\n```python\r\nfrom larray.util.misc import unique_list\r\n\r\n\r\ndef align(*sessions, join='outer', fill_value=nan):\r\n    # TODO: support n sessions\r\n    assert len(sessions) == 2\r\n    if not all(isinstance(s, Session) for s in sessions):\r\n        raise TypeError(\"Session.align only supports aligning with other Session objects\")\r\n\r\n    seen = set()\r\n    all_keys = []\r\n    for s in sessions:\r\n        unique_list(s.keys(), all_keys, seen)\r\n\r\n    res1, res2 = [], []\r\n    for name in all_keys:\r\n        arrays = [s.get(name, np.nan) for s in sessions]\r\n        arrays = [aslarray(a) for a in arrays]\r\n        # rename anonymous axes because those are not supported by align()\r\n        arrays = [array.rename({axis_num: axis.name if axis.name is not None else 'axis{}'.format(axis_num)\r\n                                for axis_num, axis in enumerate(array.axes)})\r\n                  for array in arrays]\r\n        assert len(arrays) == 2\r\n        arr1, arr2 = arrays\r\n        try:\r\n            # TODO: align should support more than one \"other\" array\r\n            aligned1, aligned2 = arr1.align(arr2, join=join, fill_value=fill_value)\r\n        except Exception:\r\n            aligned1, aligned2 = np.nan, np.nan\r\n        res1.append((name, aligned1))\r\n        res2.append((name, aligned2))\r\n    return Session(res1), Session(res2)\r\n\r\n\r\nsession1, session2 = align(session1, session2)\r\n\r\n```","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2017-10-25T12:17:35Z","url":"https://github.com/larray-project/larray/issues/501"}

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:176007b7-9cb1-704b-8ee5-2466d55bf86d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB6FC:2FD3CB:34C1C5:471EDA:6B0028D8
html-safe-nonce8c9ca6b99b90dc514b645428a9abbc6597829e9a5db8c8661d845600ab2ef3d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkZDOjJGRDNDQjozNEMxQzU6NDcxRURBOjZCMDAyOEQ4IiwidmlzaXRvcl9pZCI6IjcxNTEwNTY1ODg5ODIyMDA1MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac354fdabc81c13cf39b4a6b44fc787d5d20154359879197a5d8810b74efd774fb
hovercard-subject-tagissue:268375237
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/501/issue_layout
twitter:imagehttps://opengraph.githubassets.com/101fdb10883d86007a9267b6102dbbf1c98327d406e7997f28133562f16bd142/larray-project/larray/issues/501
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/101fdb10883d86007a9267b6102dbbf1c98327d406e7997f28133562f16bd142/larray-project/larray/issues/501
og:image:altHere is some preliminary code: from larray.util.misc import unique_list def align(*sessions, join='outer', fill_value=nan): # TODO: support n sessions assert len(sessions) == 2 if not all(isinstanc...
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 git https://github.com/larray-project/larray.git
octolytics-dimension-user_id26460981
octolytics-dimension-user_loginlarray-project
octolytics-dimension-repository_id16981067
octolytics-dimension-repository_nwolarray-project/larray
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16981067
octolytics-dimension-repository_network_root_nwolarray-project/larray
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/issues/501#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flarray-project%2Flarray%2Fissues%2F501
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%2Fissues%2F501
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
Reloadhttps://github.com/larray-project/larray/issues/501
Reloadhttps://github.com/larray-project/larray/issues/501
Reloadhttps://github.com/larray-project/larray/issues/501
larray-projecthttps://github.com/larray-project
larrayhttps://github.com/larray-project/larray
Codehttps://github.com/larray-project/larray
Issues279 (279)https://github.com/larray-project/larray/issues
Pull requests6 (6)https://github.com/larray-project/larray/pulls
Actionshttps://github.com/larray-project/larray/actions
Security and qualityhttps://github.com/larray-project/larray/security
Insightshttps://github.com/larray-project/larray/insights
https://github.com/larray-project/larray
New issuehttps://github.com/login?return_to=https://github.com/larray-project/larray/issues/501
New issuehttps://github.com/login?return_to=https://github.com/larray-project/larray/issues/501
align sessionshttps://github.com/larray-project/larray/issues/501#top
enhancementhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22enhancement%22
priority: highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20high%22
0.35https://github.com/larray-project/larray/milestone/27
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Oct 25, 2017https://github.com/larray-project/larray/issues/501#issue-268375237
gdementenhttps://github.com/gdementen
enhancementhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Oct 25, 2017https://github.com/larray-project/larray/issues/501#event-1309734776
alixdammanhttps://github.com/alixdamman
0.31https://github.com/larray-project/larray/milestone/18
on Dec 21, 2018https://github.com/larray-project/larray/issues/501#event-2041024110
gdementenhttps://github.com/gdementen
0.31https://github.com/larray-project/larray/milestone/18
on Aug 1, 2019https://github.com/larray-project/larray/issues/501#event-2526113021
alixdammanhttps://github.com/alixdamman
nice_to_havehttps://github.com/larray-project/larray/milestone/20
on Oct 10, 2019https://github.com/larray-project/larray/issues/501#event-2701969949
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Oct 4, 2021https://github.com/larray-project/larray/issues/501#issuecomment-933613000
gdementenhttps://github.com/gdementen
priority: highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20high%22
work in progresshttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22work%20in%20progress%22
on Sep 16, 2022https://github.com/larray-project/larray/issues/501#event-7401538232
gdementenhttps://github.com/gdementen
nice_to_havehttps://github.com/larray-project/larray/milestone/20
0.35https://github.com/larray-project/larray/milestone/27
on Sep 16, 2022https://github.com/larray-project/larray/issues/501#event-7401538986
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Nov 25, 2025https://github.com/larray-project/larray/issues/501#issuecomment-3575387058
gdementenhttps://github.com/gdementen
on Nov 28, 2025https://github.com/larray-project/larray/issues/501#event-21245683987
FEAT: implemented Session.align(other_session) (closes larray-project…https://github.com/gdementen/larray/commit/3588c643565f305cadb386de103b7ee5f5e37bd7
larray-project…https://github.com/larray-project/larray/issues/501
https://docs.github.com/articles/closing-issues-via-commit-messages
3588c64https://github.com/gdementen/larray/commit/3588c643565f305cadb386de103b7ee5f5e37bd7
gdementenhttps://github.com/gdementen
completedhttps://github.com/larray-project/larray/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
43ff83ahttps://github.com/larray-project/larray/commit/43ff83ad3ee23139f371bfe3aaeee1f64a81c136
on Nov 28, 2025https://github.com/larray-project/larray/issues/501#event-21245875839
gdementenhttps://github.com/gdementen
on Dec 3, 2025https://github.com/larray-project/larray/issues/501#event-21336816194
FEAT: implemented Session.align(other_session) (closes larray-project…https://github.com/gdementen/larray/commit/43ff83ad3ee23139f371bfe3aaeee1f64a81c136
larray-project…https://github.com/larray-project/larray/issues/501
https://docs.github.com/articles/closing-issues-via-commit-messages
43ff83ahttps://github.com/gdementen/larray/commit/43ff83ad3ee23139f371bfe3aaeee1f64a81c136
gdementenhttps://github.com/gdementen
work in progresshttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22work%20in%20progress%22
on Dec 11, 2025https://github.com/larray-project/larray/issues/501#event-21498007564
Sign up for freehttps://github.com/signup?return_to=https://github.com/larray-project/larray/issues/501
Sign in to commenthttps://github.com/login?return_to=https://github.com/larray-project/larray/issues/501
enhancementhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22enhancement%22
priority: highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20high%22
0.35https://github.com/larray-project/larray/milestone/27
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.