Title: str values should be quoted in Array repr · Issue #1165 · larray-project/larray · GitHub
Open Graph Title: str values should be quoted in Array repr · Issue #1165 · larray-project/larray
X Title: str values should be quoted in Array repr · Issue #1165 · larray-project/larray
Description: String values should be quoted in Array.__repr__. Currently, they are indistinguishable from their numeric counterpart: >>> a = Axis('a=a0,a1') >>> arr = Array(["1", "2"], a) >>> arr a a0 a1 1 2 >>> arr = Array([1, 2], a) >>> arr a a0 a1...
Open Graph Description: String values should be quoted in Array.__repr__. Currently, they are indistinguishable from their numeric counterpart: >>> a = Axis('a=a0,a1') >>> arr = Array(["1", "2"], a) >>> arr a a0 a1 1 2 >>...
X Description: String values should be quoted in Array.__repr__. Currently, they are indistinguishable from their numeric counterpart: >>> a = Axis('a=a0,a1') >>> arr = Array(["1&qu...
Opengraph URL: https://github.com/larray-project/larray/issues/1165
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"str values should be quoted in Array repr","articleBody":"String values should be quoted in `Array.__repr__`. Currently, they are indistinguishable from their numeric counterpart:\n\n```python\n>>> a = Axis('a=a0,a1')\n>>> arr = Array([\"1\", \"2\"], a)\n>>> arr\na a0 a1\n 1 2\n>>> arr = Array([1, 2], a)\n>>> arr\na a0 a1\n 1 2\n```\n\nThe problem is even worse for object/mixed type arrays:\n\n```python\n>>> arr = Array([1, \"2\"], a, dtype=object)\n>>> arr\na a0 a1\n 1 2\n```\n\nFWIW, numpy quotes string values:\n\n```python\n>>> arr = np.array([\"1\", \"2\"])\n>>> arr\n['1' '2']\n```\n\nI am currently undecided whether to quote string values in the editor. There you at least have the background color hint.","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2026-02-25T14:37:38Z","url":"https://github.com/larray-project/larray/issues/1165"}
| 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:1b8813fa-dc21-aa72-b7fe-de0203d8a55a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC68:3D9709:0F01:13F3:6B0016C4 |
| html-safe-nonce | 0de094c21416e7b9aeb7885ff4f2f37a98610e8057566dfe868cf31753d530b5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzY4OjNEOTcwOTowRjAxOjEzRjM6NkIwMDE2QzQiLCJ2aXNpdG9yX2lkIjoiNzE4MTA2NjE3NDAxOTQwOTYwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 881127c7b8284538d94d7009f8bd8369f45b615b715724e92bc722e0fe6fc7fc |
| hovercard-subject-tag | issue:3989854482 |
| 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/1165/issue_layout |
| twitter:image | https://opengraph.githubassets.com/262935c3d2806d8cf8e9ead5edbad6a51366b03d72370c6d4e16d0ba466ab7a0/larray-project/larray/issues/1165 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/262935c3d2806d8cf8e9ead5edbad6a51366b03d72370c6d4e16d0ba466ab7a0/larray-project/larray/issues/1165 |
| og:image:alt | String values should be quoted in Array.__repr__. Currently, they are indistinguishable from their numeric counterpart: >>> a = Axis('a=a0,a1') >>> arr = Array(["1", "2"], a) >>> arr a a0 a1 1 2 >>... |
| 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 | a2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4 |
| 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 | 70121d4e855ee0bb7b75cf15d061d91f8863c0f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width