issue_comments
2 rows where author_association = "MEMBER" and issue = 1655290694 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- `as_shared_dtype` converts scalars to 0d `numpy` arrays if chunked `cupy` is involved · 2 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1516251985 | https://github.com/pydata/xarray/issues/7721#issuecomment-1516251985 | https://api.github.com/repos/pydata/xarray/issues/7721 | IC_kwDOAMm_X85aYCtR | keewis 14808389 | 2023-04-20T12:35:30Z | 2023-04-20T12:36:55Z | MEMBER | there's two things that happen in The latter could easily be done by using At the moment, So really, my question is: how do we support python scalars for libraries that only implement Of course, I would prefer removing the special casing for specific libraries, but I wouldn't be opposed to keeping the existing one. I guess as a short-term fix we could just pull As a long-term fix I guess we'd need to revive the stalled nested duck array discussion. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`as_shared_dtype` converts scalars to 0d `numpy` arrays if chunked `cupy` is involved 1655290694 | |
1510169910 | https://github.com/pydata/xarray/issues/7721#issuecomment-1510169910 | https://api.github.com/repos/pydata/xarray/issues/7721 | IC_kwDOAMm_X85aA102 | keewis 14808389 | 2023-04-16T08:09:09Z | 2023-04-16T08:09:09Z | MEMBER | The issue is that here: https://github.com/pydata/xarray/blob/d4db16699f30ad1dc3e6861601247abf4ac96567/xarray/core/duck_array_ops.py#L193-L206 we try to convert everything to the same dtype, casting numpy and python scalars to an array. The latter is important, because e.g. However, detecting My naive suggestion was to treat |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`as_shared_dtype` converts scalars to 0d `numpy` arrays if chunked `cupy` is involved 1655290694 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 1