Title: comparison between Array and None (or an Axis) returns False (single value) · Issue #988 · larray-project/larray · GitHub
Open Graph Title: comparison between Array and None (or an Axis) returns False (single value) · Issue #988 · larray-project/larray
X Title: comparison between Array and None (or an Axis) returns False (single value) · Issue #988 · larray-project/larray
Description: This is a regression in 0.33 (39ced81) because None is not a scalar for np.isscalar Test case: >>> arr = full("a=a0..a2", None) >>> arr == None False One workaround is (we can use is too but it is farther from the original code): >>> arr...
Open Graph Description: This is a regression in 0.33 (39ced81) because None is not a scalar for np.isscalar Test case: >>> arr = full("a=a0..a2", None) >>> arr == None False One workaround is (we can use is too but it is ...
X Description: This is a regression in 0.33 (39ced81) because None is not a scalar for np.isscalar Test case: >>> arr = full("a=a0..a2", None) >>> arr == None False One workaround is (...
Opengraph URL: https://github.com/larray-project/larray/issues/988
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"comparison between Array and None (or an Axis) returns False (single value)","articleBody":"This is a regression in 0.33 (39ced81f9a335f47bbf512c50139e35f1ff86705) because None is not a scalar for np.isscalar\r\n\r\nTest case:\r\n```python\r\n>>> arr = full(\"a=a0..a2\", None)\r\n>>> arr == None\r\nFalse\r\n```\r\nOne workaround is (we can use `is` too but it is farther from the original code):\r\n```python\r\n>>> arr.apply(lambda v: v == None)\r\na a0 a1 a2\r\n True True True\r\n```\r\n","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2021-11-09T14:12:32Z","url":"https://github.com/larray-project/larray/issues/988"}
| 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:784fc02c-1a1e-f413-1dcd-34cd0c705719 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACE6:3F9D33:214F6D1:2D34D9F:6B0021B8 |
| html-safe-nonce | 4965328a8c73b423bdc3f904c07191b2009e374e091fe5ffbb6a485915ccdb30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0U2OjNGOUQzMzoyMTRGNkQxOjJEMzREOUY6NkIwMDIxQjgiLCJ2aXNpdG9yX2lkIjoiMjUwNjU3NDA5NzIwMzMzOTcwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2bd6783283172db674c4aec87f29ce80e940c96c38f91d2383f9b9c894a5fe4b |
| hovercard-subject-tag | issue:1048654807 |
| 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/988/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c01150285c5a3785aee858c0cb3c07480a8d6c4bab4f8e7da12cfd1ff8ba36b9/larray-project/larray/issues/988 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c01150285c5a3785aee858c0cb3c07480a8d6c4bab4f8e7da12cfd1ff8ba36b9/larray-project/larray/issues/988 |
| og:image:alt | This is a regression in 0.33 (39ced81) because None is not a scalar for np.isscalar Test case: >>> arr = full("a=a0..a2", None) >>> arr == None False One workaround is (we can use is too but it is ... |
| 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