issue_comments
4 rows where issue = 800118528 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- doctest failure with numpy 1.20 · 4 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
773647435 | https://github.com/pydata/xarray/issues/4858#issuecomment-773647435 | https://api.github.com/repos/pydata/xarray/issues/4858 | MDEyOklzc3VlQ29tbWVudDc3MzY0NzQzNQ== | mark-boer 12862013 | 2021-02-04T22:33:45Z | 2021-02-04T22:34:30Z | CONTRIBUTOR |
I agree, I think that would be a good solutions for now, I think replacing the example is fine. Maybe we could even open a new issue, to discuss how xarray functions handle Is |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
doctest failure with numpy 1.20 800118528 | |
773300501 | https://github.com/pydata/xarray/issues/4858#issuecomment-773300501 | https://api.github.com/repos/pydata/xarray/issues/4858 | MDEyOklzc3VlQ29tbWVudDc3MzMwMDUwMQ== | mathause 10194086 | 2021-02-04T13:23:59Z | 2021-02-04T13:23:59Z | MEMBER | Thanks for the other examples. Yes these now also raise an error with numpy 1.20. What still does not raise is the following
My suggestion is:
|
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
doctest failure with numpy 1.20 800118528 | |
773240852 | https://github.com/pydata/xarray/issues/4858#issuecomment-773240852 | https://api.github.com/repos/pydata/xarray/issues/4858 | MDEyOklzc3VlQ29tbWVudDc3MzI0MDg1Mg== | mark-boer 12862013 | 2021-02-04T11:33:32Z | 2021-02-04T11:34:36Z | CONTRIBUTOR | Hi, we had a similar discussion in de #3596, xarray makes a distinction between Check e.g. this comment: https://github.com/pydata/xarray/pull/3596#discussion_r388612638 The example I posted in this comment: ```
Hmm, so numpy changed its behaviour? Then this example, should probably also fail in numpy 1.20. On a side note: I am not a big fan of the example in the doctest, it displays an edge case, which is not unique to I think the nicest solution would be to make the usage |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
doctest failure with numpy 1.20 800118528 | |
773214721 | https://github.com/pydata/xarray/issues/4858#issuecomment-773214721 | https://api.github.com/repos/pydata/xarray/issues/4858 | MDEyOklzc3VlQ29tbWVudDc3MzIxNDcyMQ== | mathause 10194086 | 2021-02-04T10:48:27Z | 2021-02-04T10:48:27Z | MEMBER | @mark-boer @dcherian @max-sixty
Currently there are 3 different behaviors, depending on ```python import xarray as xr import numpy as np arr = xr.DataArray([5, 6, 7], coords=[("x", [0, 1, 2])]) arr.pad(x=1, constant_values=np.nan) ValueError: cannot convert float NaN to integerarr.pad(x=1, constant_values=None) casts arr to floatarr.pad(x=1, constant_values=1.5) casts constant_values to int``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
doctest failure with numpy 1.20 800118528 |
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 2