Title: creating an Axis with mixed type does not work · Issue #910 · larray-project/larray · GitHub
Open Graph Title: creating an Axis with mixed type does not work · Issue #910 · larray-project/larray
X Title: creating an Axis with mixed type does not work · Issue #910 · larray-project/larray
Description: >>> Axis([0, "a"], "value") Axis(['0', 'a'], 'value') The only workaround I know is to force the dtype at the numpy level: >>> Axis(np.array([0, "a"], dtype=object), "value") Axis([0, 'a'], 'value')
Open Graph Description: >>> Axis([0, "a"], "value") Axis(['0', 'a'], 'value') The only workaround I know is to force the dtype at the numpy level: >>> Axis(np.array([0, "a"], dtype=object), "value") Axis([0, 'a'], 'value')
X Description: >>> Axis([0, "a"], "value") Axis(['0', 'a'], 'value') The only workaround I know is to force the dtype at the numpy level: >>> Axis(np....
Opengraph URL: https://github.com/larray-project/larray/issues/910
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"creating an Axis with mixed type does not work","articleBody":"```python\r\n>>> Axis([0, \"a\"], \"value\")\r\nAxis(['0', 'a'], 'value')\r\n```\r\n\r\nThe only workaround I know is to force the dtype at the numpy level:\r\n\r\n```python\r\n>>> Axis(np.array([0, \"a\"], dtype=object), \"value\")\r\nAxis([0, 'a'], 'value')\r\n```","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2021-01-25T16:28:33Z","url":"https://github.com/larray-project/larray/issues/910"}
| 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:a018fe0c-0bd8-da14-1445-b5526c14f6f9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB82:2046A4:17180D:1F4635:6B001F60 |
| html-safe-nonce | 92f3df691a17236a37edb2d46c47134f96a2910e1c0359e150e39c985f3ce0e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjgyOjIwNDZBNDoxNzE4MEQ6MUY0NjM1OjZCMDAxRjYwIiwidmlzaXRvcl9pZCI6IjUyMjg1MTY4MDk3OTUyNTQ3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bd5433268ac8fe6fca5cb65825ce8de70bc93df4a350dfc16bafc3a029e7f8bf |
| hovercard-subject-tag | issue:793528463 |
| 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/910/issue_layout |
| twitter:image | https://opengraph.githubassets.com/15d5c1537727adbff77b79b1d195d83523b12b5c86a53a56c6f7eb5714cf209e/larray-project/larray/issues/910 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/15d5c1537727adbff77b79b1d195d83523b12b5c86a53a56c6f7eb5714cf209e/larray-project/larray/issues/910 |
| og:image:alt | >>> Axis([0, "a"], "value") Axis(['0', 'a'], 'value') The only workaround I know is to force the dtype at the numpy level: >>> Axis(np.array([0, "a"], dtype=object), "value") Axis([0, 'a'], 'value') |
| 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