René's URL Explorer Experiment


Title: from_frame(df_with_mixed_str_number_multi_index) broken · Issue #1193 · larray-project/larray · GitHub

Open Graph Title: from_frame(df_with_mixed_str_number_multi_index) broken · Issue #1193 · larray-project/larray

X Title: from_frame(df_with_mixed_str_number_multi_index) broken · Issue #1193 · larray-project/larray

Description: The numbers are converted to strings. I noticed initially that that arrays with mixed-type labels do not roundtrip correctly, but this is the root issue. Also adding an explicit test for the roundtrip to HDF would be a good idea though. ...

Open Graph Description: The numbers are converted to strings. I noticed initially that that arrays with mixed-type labels do not roundtrip correctly, but this is the root issue. Also adding an explicit test for the roundt...

X Description: The numbers are converted to strings. I noticed initially that that arrays with mixed-type labels do not roundtrip correctly, but this is the root issue. Also adding an explicit test for the roundt...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"from_frame(df_with_mixed_str_number_multi_index) broken","articleBody":"The numbers are converted to strings. I noticed initially that that arrays with mixed-type labels do not roundtrip correctly, but this is the root issue. Also adding an explicit test for the roundtrip to HDF would be a good idea though. The bug is probably also present for simple (non-multi) index dataframes and maybe in the sorted case too (I need to test the status of the 4 combinations of simple/multi and sort/no sort).\n\nI discovered this when preparing the 0.35.1 release because I fixed it alongside another issue but I reintroduced the bug on purpose because the demo model relies on the broken behavior and I do not want to knowingly break models in a bugfix release. See `inout/pandas.py:simple_index_to_labels()`\n\n```python\n>>> df = pd.DataFrame([['s0', 'o0', 0], ['s1', 1, 1]], columns=['str', 'obj', 'value']).set_index(['str', 'obj'])\n>>> df.index.unique(1)\nIndex(['o0', 1], dtype='object', name='obj')\n>>> from_frame(df).obj.dtype\ndtype('\u003cU21')\n```","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2026-04-13T15:02:47Z","url":"https://github.com/larray-project/larray/issues/1193"}

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:669853a7-6d78-0ec7-e030-fddba53f19bc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC5DA:D33AC:33059C:44E76A:6B0027C7
html-safe-noncec0bf3ae3863ddf77e204df663452234cb3b7fc5b581ac8bdc65a88ce15c2a1fe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNURBOkQzM0FDOjMzMDU5Qzo0NEU3NkE6NkIwMDI3QzciLCJ2aXNpdG9yX2lkIjoiNDk1MjI5NzM5NjYwOTQ5MjkzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1794657361a107b45a4e0929b079cc1ec8de13d299547bbee7bd284e982c4746
hovercard-subject-tagissue:4255882488
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/1193/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fa4e26ba3cb0e3ac80706c259b30fb53d88bb915cf28c690fca2da5724ffecce/larray-project/larray/issues/1193
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fa4e26ba3cb0e3ac80706c259b30fb53d88bb915cf28c690fca2da5724ffecce/larray-project/larray/issues/1193
og:image:altThe numbers are converted to strings. I noticed initially that that arrays with mixed-type labels do not roundtrip correctly, but this is the root issue. Also adding an explicit test for the roundt...
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/1193#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flarray-project%2Flarray%2Fissues%2F1193
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%2F1193
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/1193
Reloadhttps://github.com/larray-project/larray/issues/1193
Reloadhttps://github.com/larray-project/larray/issues/1193
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/1193
New issuehttps://github.com/login?return_to=https://github.com/larray-project/larray/issues/1193
from_frame(df_with_mixed_str_number_multi_index) brokenhttps://github.com/larray-project/larray/issues/1193#top
bughttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22bug%22
priority: very highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20very%20high%22
0.35.1https://github.com/larray-project/larray/milestone/35
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Apr 13, 2026https://github.com/larray-project/larray/issues/1193#issue-4255882488
gdementenhttps://github.com/gdementen
0.36https://github.com/larray-project/larray/milestone/28
on Apr 13, 2026https://github.com/larray-project/larray/issues/1193#event-24451262450
gdementenhttps://github.com/gdementen
bughttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22bug%22
priority: very highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20very%20high%22
on Apr 13, 2026https://github.com/larray-project/larray/issues/1193#event-24451263382
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Apr 14, 2026https://github.com/larray-project/larray/issues/1193#issuecomment-4242744234
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Apr 14, 2026https://github.com/larray-project/larray/issues/1193#issuecomment-4243271526
#1194https://github.com/larray-project/larray/issues/1194
#910https://github.com/larray-project/larray/issues/910
#989https://github.com/larray-project/larray/issues/989
#882https://github.com/larray-project/larray/issues/882
#911https://github.com/larray-project/larray/issues/911
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Apr 14, 2026https://github.com/larray-project/larray/issues/1193#issuecomment-4244809830
gdementenhttps://github.com/gdementen
0.36https://github.com/larray-project/larray/milestone/28
0.35.1https://github.com/larray-project/larray/milestone/35
on Apr 14, 2026https://github.com/larray-project/larray/issues/1193#event-24492160938
gdementenhttps://github.com/gdementen
work in progresshttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22work%20in%20progress%22
on Apr 14, 2026https://github.com/larray-project/larray/issues/1193#event-24492174870
gdementenhttps://github.com/gdementen
on Apr 14, 2026https://github.com/larray-project/larray/issues/1193#event-24492763641
FIX: Pandas Dataframes with mixed-type indexes come out as mixed-type…https://github.com/gdementen/larray/commit/be7f23add1d68181b74ca1516b33047cf5060e16
https://docs.github.com/articles/closing-issues-via-commit-messages
be7f23ahttps://github.com/gdementen/larray/commit/be7f23add1d68181b74ca1516b33047cf5060e16
FIX: Pandas Dataframes with mixed-type indexes come out as mixed-type…https://github.com/gdementen/larray/commit/7d5ea69e1ebcc09753a4f3f87ee37cd87cd6b91a
https://docs.github.com/articles/closing-issues-via-commit-messages
7d5ea69https://github.com/gdementen/larray/commit/7d5ea69e1ebcc09753a4f3f87ee37cd87cd6b91a
gdementenhttps://github.com/gdementen
completedhttps://github.com/larray-project/larray/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
50198d1https://github.com/larray-project/larray/commit/50198d1a8b366994c94f310ae1b8e6e5f9720183
on Apr 14, 2026https://github.com/larray-project/larray/issues/1193#event-24493268076
gdementenhttps://github.com/gdementen
work in progresshttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22work%20in%20progress%22
on Apr 14, 2026https://github.com/larray-project/larray/issues/1193#event-24493301062
Sign up for freehttps://github.com/signup?return_to=https://github.com/larray-project/larray/issues/1193
Sign in to commenthttps://github.com/login?return_to=https://github.com/larray-project/larray/issues/1193
bughttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22bug%22
priority: very highhttps://github.com/larray-project/larray/issues?q=state%3Aopen%20label%3A%22priority%3A%20very%20high%22
0.35.1https://github.com/larray-project/larray/milestone/35
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.