issue_comments
1 row where issue = 1325761961 and user = 4160723 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- The Dataset.rename_dims creates a new dimension without coordinates · 1 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1202535745 | https://github.com/pydata/xarray/issues/6867#issuecomment-1202535745 | https://api.github.com/repos/pydata/xarray/issues/6867 | IC_kwDOAMm_X85HrT1B | benbovy 4160723 | 2022-08-02T13:17:09Z | 2022-08-02T20:23:32Z | MEMBER | Hi @ZhaJiMan, this topic has been brought up several times recently (see, e.g., #4825, #6607, #6704). I can't tell much about your latitude / longitude case without a more detailed example, but looking at your simple case the result is the one I would expect, i.e., Note that with version 2022.6.0, the ```python renamed = ds.rename_dims(space='label')) renamed <xarray.Dataset>Dimensions: (label: 3)Coordinates:* space (label) <U1 'a' 'b' 'c'Dimensions without coordinates: labelData variables:x (label) int64 1 2 3renamed.sel(space="a") <xarray.Dataset>Dimensions: ()Coordinates:space <U1 'a'Data variables:x int64 1``` Given that we can now use non-dimension coordinates for data selection, we should probably remove the "Dimensions without coordinates: label" in the repr for such case, as it becomes rather confusing. We should probably change that line to something like "Dimensions without index" or "Dimensions without indexed coordinates" or address that in the indexes repr section (#6795). |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
The Dataset.rename_dims creates a new dimension without coordinates 1325761961 |
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