home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 255597950 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

  • shoyer 1
  • nbren12 1
  • mschrimpf 1

author_association 3

  • CONTRIBUTOR 1
  • MEMBER 1
  • NONE 1

issue 1

  • TypeError on DataArray.stack() if any of the dimensions to be stacked has a MultiIndex · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
480379773 https://github.com/pydata/xarray/issues/1554#issuecomment-480379773 https://api.github.com/repos/pydata/xarray/issues/1554 MDEyOklzc3VlQ29tbWVudDQ4MDM3OTc3Mw== mschrimpf 5308236 2019-04-05T18:35:12Z 2019-04-05T18:35:12Z NONE

Any updates on this by any chance? (now that there seems to be progress on #1603)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  TypeError on DataArray.stack() if any of the dimensions to be stacked has a MultiIndex 255597950
330359229 https://github.com/pydata/xarray/issues/1554#issuecomment-330359229 https://api.github.com/repos/pydata/xarray/issues/1554 MDEyOklzc3VlQ29tbWVudDMzMDM1OTIyOQ== nbren12 1386642 2017-09-18T21:18:01Z 2017-09-18T21:18:01Z CONTRIBUTOR

I have been playing around with the MultiIndexes as part of #1317, so I could take a stab at implementing some sort of stack which combines the levels etc.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  TypeError on DataArray.stack() if any of the dimensions to be stacked has a MultiIndex 255597950
327588604 https://github.com/pydata/xarray/issues/1554#issuecomment-327588604 https://api.github.com/repos/pydata/xarray/issues/1554 MDEyOklzc3VlQ29tbWVudDMyNzU4ODYwNA== shoyer 1217238 2017-09-06T19:27:43Z 2017-09-06T19:27:43Z MEMBER

Thanks for the report.

I agree that a better error message would be helpful here, but I do think that stack can still be meaningfully if one of the components is a MultiIndex (e.g., by combining the existing levels with the new levels to be stacked)

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  TypeError on DataArray.stack() if any of the dimensions to be stacked has a MultiIndex 255597950

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 15.035ms · About: xarray-datasette