issue_comments
2 rows where author_association = "CONTRIBUTOR", issue = 1197117301 and user = 3698640 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Writing a a dataset to .zarr in a loop makes all the data NaNs · 2 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1098574761 | https://github.com/pydata/xarray/issues/6456#issuecomment-1098574761 | https://api.github.com/repos/pydata/xarray/issues/6456 | IC_kwDOAMm_X85Beuup | delgadom 3698640 | 2022-04-13T23:34:16Z | 2022-04-13T23:34:48Z | CONTRIBUTOR |
when I said "you're overwriting the file every iteration" I meant to put the emphasis on overwiting. by using See the docs on
This interpretation of mode is consistent across all of python - see the docs for python builtins: open So I think changing your writes to |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Writing a a dataset to .zarr in a loop makes all the data NaNs 1197117301 | |
| 1094411214 | https://github.com/pydata/xarray/issues/6456#issuecomment-1094411214 | https://api.github.com/repos/pydata/xarray/issues/6456 | IC_kwDOAMm_X85BO2PO | delgadom 3698640 | 2022-04-10T23:40:49Z | 2022-04-10T23:40:49Z | CONTRIBUTOR | @tbloch1 following up on Max's suggestion - it looks like you might be overwriting the file with every iteration. See the docs on ds.to_zarr - To me, this doesn't seem likely to be a bug, but is more of a usage question. Have you tried asking on stackoverflow with the xarray tag? |
{
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Writing a a dataset to .zarr in a loop makes all the data NaNs 1197117301 |
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