home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 189721898 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • shoyer 1
  • fujiisoup 1
  • stale[bot] 1

author_association 2

  • MEMBER 2
  • NONE 1

issue 1

  • unstack raises error when there is only one dimension stacked · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
457472563 https://github.com/pydata/xarray/issues/1126#issuecomment-457472563 https://api.github.com/repos/pydata/xarray/issues/1126 MDEyOklzc3VlQ29tbWVudDQ1NzQ3MjU2Mw== fujiisoup 6815844 2019-01-25T06:43:01Z 2019-01-25T06:43:01Z MEMBER

It is already fixed.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  unstack raises error when there is only one dimension stacked 189721898
457428897 https://github.com/pydata/xarray/issues/1126#issuecomment-457428897 https://api.github.com/repos/pydata/xarray/issues/1126 MDEyOklzc3VlQ29tbWVudDQ1NzQyODg5Nw== stale[bot] 26384082 2019-01-25T02:04:16Z 2019-01-25T02:04:16Z NONE

In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity If this issue remains relevant, please comment here; otherwise it will be marked as closed automatically

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  unstack raises error when there is only one dimension stacked 189721898
260999065 https://github.com/pydata/xarray/issues/1126#issuecomment-260999065 https://api.github.com/repos/pydata/xarray/issues/1126 MDEyOklzc3VlQ29tbWVudDI2MDk5OTA2NQ== shoyer 1217238 2016-11-16T16:41:08Z 2016-11-16T16:41:08Z MEMBER

I agree, this is annoying. Unfortunately, pandas does not have support a MultiIndex with one level, so it's not obvious how we would represent such objects in xarray's data model. If we simply treated ds.stack(z=['dim1']) as a rename operation, then we wouldn't know how to do unstack('z').

One option would be to use a normal pandas.Index where Index.name differs from the name of the dimension on the xarray.Variable, though it might be cleaner/more-obvious using our own wrapper class of some sort. I think this would be relatively sane, but it would require adjustments throughout the codebase in every place where we use a MultiIndex.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  unstack raises error when there is only one dimension stacked 189721898

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