issue_comments
4 rows where issue = 1720045908 and user = 85085 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- CF encoding should preserve vlen dtype for empty arrays · 4 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1573764660 | https://github.com/pydata/xarray/pull/7862#issuecomment-1573764660 | https://api.github.com/repos/pydata/xarray/issues/7862 | IC_kwDOAMm_X85dzb40 | tomwhite 85085 | 2023-06-02T13:44:43Z | 2023-06-02T13:44:43Z | CONTRIBUTOR | @kmuehlbauer thanks for adding tests! I'm not sure what the mypy error is either, I'm afraid... |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
CF encoding should preserve vlen dtype for empty arrays 1720045908 | |
| 1561308333 | https://github.com/pydata/xarray/pull/7862#issuecomment-1561308333 | https://api.github.com/repos/pydata/xarray/issues/7862 | IC_kwDOAMm_X85dD6yt | tomwhite 85085 | 2023-05-24T14:51:23Z | 2023-05-24T14:51:23Z | CONTRIBUTOR |
Yes - thanks!
The floating point default is preserved if you do e.g. |
{
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
CF encoding should preserve vlen dtype for empty arrays 1720045908 | |
| 1561240314 | https://github.com/pydata/xarray/pull/7862#issuecomment-1561240314 | https://api.github.com/repos/pydata/xarray/issues/7862 | IC_kwDOAMm_X85dDqL6 | tomwhite 85085 | 2023-05-24T14:12:49Z | 2023-05-24T14:12:49Z | CONTRIBUTOR |
The code looks fine, and I get the same result when I run it with this PR. Your fix in https://github.com/kmuehlbauer/xarray/tree/preserve-vlen-string-dtype changes the metadata so it is correctly preserved as I feel less qualified to evaluate the impact of the netcdf4 fix. |
{
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
CF encoding should preserve vlen dtype for empty arrays 1720045908 | |
| 1561143111 | https://github.com/pydata/xarray/pull/7862#issuecomment-1561143111 | https://api.github.com/repos/pydata/xarray/issues/7862 | IC_kwDOAMm_X85dDSdH | tomwhite 85085 | 2023-05-24T13:23:18Z | 2023-05-24T13:23:18Z | CONTRIBUTOR | Thanks for taking a look @kmuehlbauer and for the useful example code. I hadn't considered the netcdf cases, so thanks for pointing those out.
Could netcdf4 do the same special-casing as h5netcdf? |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
CF encoding should preserve vlen dtype for empty arrays 1720045908 |
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