home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "MEMBER", issue = 467814673 and user = 6628425 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date)

user 1

  • spencerkclark · 1 ✖

issue 1

  • selecting only october to march from monthly data using xarray · 1 ✖

author_association 1

  • MEMBER · 1 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
511204028 https://github.com/pydata/xarray/issues/3124#issuecomment-511204028 https://api.github.com/repos/pydata/xarray/issues/3124 MDEyOklzc3VlQ29tbWVudDUxMTIwNDAyOA== spencerkclark 6628425 2019-07-14T13:42:47Z 2019-07-14T13:42:47Z MEMBER

I normally use something like this, which results in the equivalent of @dcherian's suggestion, but is a bit more direct: python data = data.sel(time=data.time.dt.month.isin([1, 2, 3, 10, 11, 12])) @mada0007 you can then subset in time to truncate the time series further afterwards: python result = data.sel(time=slice('1950-04', '1960-04'))

{
    "total_count": 6,
    "+1": 6,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  selecting only october to march from monthly data using xarray 467814673

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