issue_comments
2 rows where issue = 698263021 and user = 3958036 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Adding new DataArray to a Dataset removes attrs of existing coord · 2 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 690538286 | https://github.com/pydata/xarray/issues/4415#issuecomment-690538286 | https://api.github.com/repos/pydata/xarray/issues/4415 | MDEyOklzc3VlQ29tbWVudDY5MDUzODI4Ng== | johnomotani 3958036 | 2020-09-10T17:29:28Z | 2020-09-10T17:29:28Z | CONTRIBUTOR | Apparently it's possible to work around this by using ds = xr.Dataset() ds["a"] = xr.DataArray(np.linspace(0., 1.), dims="x") ds["x"] = xr.DataArray(np.linspace(0., 2., len(ds["x"])), dims="x") ds["x"].attrs["foo"] = "bar" print(ds["x"]) ds["b"] = xr.DataArray(np.linspace(0., 1.), dims="x")ds = ds.merge(xr.DataArray(np.linspace(0., 1.), dims="x", name="b")) print(ds["x"]) ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Adding new DataArray to a Dataset removes attrs of existing coord 698263021 | |
| 690535154 | https://github.com/pydata/xarray/issues/4415#issuecomment-690535154 | https://api.github.com/repos/pydata/xarray/issues/4415 | MDEyOklzc3VlQ29tbWVudDY5MDUzNTE1NA== | johnomotani 3958036 | 2020-09-10T17:24:06Z | 2020-09-10T17:24:06Z | CONTRIBUTOR | Unfortunately I don't have time at the moment to dig into why this is happening, but it was confusing because I found a bug where attrs had disappeared, and eventually chased it down to where some new variables were added to my Dataset, which I would not expect to change existing coordinates! |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Adding new DataArray to a Dataset removes attrs of existing coord 698263021 |
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