issue_comments
5 rows where issue = 1384465119 and user = 18679148 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Can't unstack concatenated DataArrays · 5 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1431400086 | https://github.com/pydata/xarray/issues/7076#issuecomment-1431400086 | https://api.github.com/repos/pydata/xarray/issues/7076 | IC_kwDOAMm_X85VUW6W | ACHMartin 18679148 | 2023-02-15T13:49:45Z | 2023-02-16T13:43:29Z | NONE | Hi @DWesl, @benbovy I got a bug very similar to what was initially report with the following minimal example (xarray version 2022.11.0) with the error:
It is working fine with my previous version (xarray 0.16.0)
If I do Many thanks for your help, Adrien |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Can't unstack concatenated DataArrays 1384465119 | |
1433104955 | https://github.com/pydata/xarray/issues/7076#issuecomment-1433104955 | https://api.github.com/repos/pydata/xarray/issues/7076 | IC_kwDOAMm_X85Va3I7 | ACHMartin 18679148 | 2023-02-16T13:41:12Z | 2023-02-16T13:41:12Z | NONE | Hi @benbovy, my code works for 2 dimensions, but it doesn't with 1D. I think the error comes from I created a Pandas-MultiIndex "MultiIndex([((0,), (1,))], names=['z', 'across'])" (see code just below), but it is not exactly the same one as the one created by My modified minimal example is as below:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Can't unstack concatenated DataArrays 1384465119 | |
1431736710 | https://github.com/pydata/xarray/issues/7076#issuecomment-1431736710 | https://api.github.com/repos/pydata/xarray/issues/7076 | IC_kwDOAMm_X85VVpGG | ACHMartin 18679148 | 2023-02-15T17:24:27Z | 2023-02-15T17:24:27Z | NONE |
Thanks @benbovy, my issue is now resolved, once I have enabled the coords to follow. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Can't unstack concatenated DataArrays 1384465119 | |
1431676036 | https://github.com/pydata/xarray/issues/7076#issuecomment-1431676036 | https://api.github.com/repos/pydata/xarray/issues/7076 | IC_kwDOAMm_X85VVaSE | ACHMartin 18679148 | 2023-02-15T16:51:49Z | 2023-02-15T16:51:49Z | NONE | I didn't see any warning for this |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Can't unstack concatenated DataArrays 1384465119 | |
1431529928 | https://github.com/pydata/xarray/issues/7076#issuecomment-1431529928 | https://api.github.com/repos/pydata/xarray/issues/7076 | IC_kwDOAMm_X85VU2nI | ACHMartin 18679148 | 2023-02-15T15:15:23Z | 2023-02-15T15:20:58Z | NONE | Many thanks for the explanation and the rapid answer. I am not very familiar with multi-index. My real problem works with a DataSet with different sort of variables:
I don't know where I should apply
Which is obvious as across and along variables disappeared. Thank you, I will dig in this direction why it happens. However, it works perfectly with the minimal example. Many thanks |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Can't unstack concatenated DataArrays 1384465119 |
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