home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER", issue = 183218516 and user = 1217238 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • shoyer · 3 ✖

issue 1

  • Preserve variables order in Dataset.concat() · 3 ✖

author_association 1

  • MEMBER · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
257748638 https://github.com/pydata/xarray/pull/1049#issuecomment-257748638 https://api.github.com/repos/pydata/xarray/issues/1049 MDEyOklzc3VlQ29tbWVudDI1Nzc0ODYzOA== shoyer 1217238 2016-11-02T01:35:49Z 2016-11-02T01:35:49Z MEMBER

OK, I'm just going to merge this. We can iterate on this more later.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Preserve variables order in Dataset.concat() 183218516
254005880 https://github.com/pydata/xarray/pull/1049#issuecomment-254005880 https://api.github.com/repos/pydata/xarray/issues/1049 MDEyOklzc3VlQ29tbWVudDI1NDAwNTg4MA== shoyer 1217238 2016-10-15T19:30:15Z 2016-10-15T19:30:15Z MEMBER

Alternatively, it looks like the issue is on line 266 where we iterate for k in concat_over. Instead, we could just do:

for k in variables: if k in concat_over: ...

This has the advantage of preserving the set, which is important if there is a very large number of variables.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Preserve variables order in Dataset.concat() 183218516
254005549 https://github.com/pydata/xarray/pull/1049#issuecomment-254005549 https://api.github.com/repos/pydata/xarray/issues/1049 MDEyOklzc3VlQ29tbWVudDI1NDAwNTU0OQ== shoyer 1217238 2016-10-15T19:25:26Z 2016-10-15T19:25:26Z MEMBER

Agreed, this is the better approach. Thanks for diving into this!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Preserve variables order in Dataset.concat() 183218516

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