home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER" and issue = 315948443 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • shoyer 1
  • fujiisoup 1

issue 1

  • A way to generate automatically-numbered coords · 2 ✖

author_association 1

  • MEMBER · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
382972351 https://github.com/pydata/xarray/issues/2067#issuecomment-382972351 https://api.github.com/repos/pydata/xarray/issues/2067 MDEyOklzc3VlQ29tbWVudDM4Mjk3MjM1MQ== fujiisoup 6815844 2018-04-20T04:31:30Z 2018-04-20T05:09:29Z MEMBER

I think this will share a similar API with the evenly spaced coordinate discussed in issue #1650.

I thought the possible API would be xr.Dataset({'foo': ('x', data)}, {'x': slice(None)}) where it will construct a evenly spaced coordinate. But I am not sure if we should add this API now or after #1650 is implemented.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  A way to generate automatically-numbered coords 315948443
382931094 https://github.com/pydata/xarray/issues/2067#issuecomment-382931094 https://api.github.com/repos/pydata/xarray/issues/2067 MDEyOklzc3VlQ29tbWVudDM4MjkzMTA5NA== shoyer 1217238 2018-04-20T01:09:01Z 2018-04-20T01:09:01Z MEMBER

If I understand correctly, instead of writing xr.Dataset({'foo': ('x', data)}, {'x': range(len(data))}), you want to be able to write something like xr.Dataset({'foo': ('x', data)}, {'x': xr.AUTO_NUMBER})?

I agree that it's sometimes convenient to automatically get coordinates 0 to n-1, but using range() is also pretty convenient, so I'm not sure we really need this shortcut.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  A way to generate automatically-numbered coords 315948443

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