issue_comments
9 rows where issue = 1384465119 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 · 9 ✖
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 | |
1431645539 | https://github.com/pydata/xarray/issues/7076#issuecomment-1431645539 | https://api.github.com/repos/pydata/xarray/issues/7076 | IC_kwDOAMm_X85VVS1j | dcherian 2448579 | 2023-02-15T16:30:21Z | 2023-02-15T16:30:21Z | MEMBER |
Are we raising a warning here? |
{ "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 | |
1431496828 | https://github.com/pydata/xarray/issues/7076#issuecomment-1431496828 | https://api.github.com/repos/pydata/xarray/issues/7076 | IC_kwDOAMm_X85VUuh8 | benbovy 4160723 | 2023-02-15T14:54:27Z | 2023-02-15T14:54:27Z | MEMBER | @ACHMartin the issue is when you do I think that in other places we still do support it with a deprecation notice, but apparently in your example this is not the case. I don't know exactly what is your real problem, but from now on you should avoid implicitly assign a multi-index with |
{ "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 | |
1259894192 | https://github.com/pydata/xarray/issues/7076#issuecomment-1259894192 | https://api.github.com/repos/pydata/xarray/issues/7076 | IC_kwDOAMm_X85LGHWw | DWesl 22566757 | 2022-09-27T18:28:26Z | 2022-09-27T18:28:26Z | CONTRIBUTOR | Fix confirmed, thank you. |
{ "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 | |
1257965977 | https://github.com/pydata/xarray/issues/7076#issuecomment-1257965977 | https://api.github.com/repos/pydata/xarray/issues/7076 | IC_kwDOAMm_X85K-wmZ | benbovy 4160723 | 2022-09-26T12:32:59Z | 2022-09-26T12:32:59Z | MEMBER | Hi @DWesl, Your example is working with the ```python after #6889arr2.unstack("index0") <xarray.DataArray (index2: 2, level_0: 3, level_1: 5)>array([[[ 0, 1, 2, 3, 4],[ 5, 6, 7, 8, 9],[10, 11, 12, 13, 14]],[[ 0, 1, 2, 3, 4],[ 5, 6, 7, 8, 9],[10, 11, 12, 13, 14]]])Coordinates:* level_0 (level_0) int64 0 1 2* level_1 (level_1) int64 0 1 2 3 4Dimensions without coordinates: index2``` |
{ "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 4