home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 417412201 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, created_at (date), updated_at (date)

user 3

  • equaeghe 1
  • max-sixty 1
  • keewis 1

author_association 2

  • MEMBER 2
  • NONE 1

issue 1

  • stack renames single dimensions instead of creating a MultiIndex · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
762959456 https://github.com/pydata/xarray/issues/2802#issuecomment-762959456 https://api.github.com/repos/pydata/xarray/issues/2802 MDEyOklzc3VlQ29tbWVudDc2Mjk1OTQ1Ng== keewis 14808389 2021-01-19T16:29:33Z 2021-01-19T16:29:33Z MEMBER

I think this has already been fixed: ```python

da.stack(z=da.dims) <xarray.DataArray (z: 3)> array([0., 1., 2.]) Coordinates: * z (z) MultiIndex - dim_0 (z) int64 0 1 2 ```

If you disagree, feel free to reopen.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  stack renames single dimensions instead of creating a MultiIndex 417412201
469885042 https://github.com/pydata/xarray/issues/2802#issuecomment-469885042 https://api.github.com/repos/pydata/xarray/issues/2802 MDEyOklzc3VlQ29tbWVudDQ2OTg4NTA0Mg== equaeghe 601177 2019-03-05T22:31:44Z 2019-03-05T22:31:44Z NONE

Is this a dupe of #1431 ?

Yes. My example and explanation are a bit clearer, so I do not know which would be best to close.

In any case, I hope this is considered for fixing separately from some big refactoring of the MultiIndex machinery, which seems to have stalled. This seems like a corner case that might not be too big, but I may be mistaken.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  stack renames single dimensions instead of creating a MultiIndex 417412201
469854732 https://github.com/pydata/xarray/issues/2802#issuecomment-469854732 https://api.github.com/repos/pydata/xarray/issues/2802 MDEyOklzc3VlQ29tbWVudDQ2OTg1NDczMg== max-sixty 5635139 2019-03-05T20:59:01Z 2019-03-05T20:59:01Z MEMBER

Thanks for the report @equaeghe

Is this a dupe of https://github.com/pydata/xarray/issues/1431 ?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  stack renames single dimensions instead of creating a MultiIndex 417412201

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

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]);
Powered by Datasette · Queries took 799.429ms · About: xarray-datasette
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows