home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "MEMBER", issue = 623872328 and user = 10194086 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date)

user 1

  • mathause · 1 ✖

issue 1

  • Impossible to define variable as an index when the variable has only 1 value · 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
633643132 https://github.com/pydata/xarray/issues/4091#issuecomment-633643132 https://api.github.com/repos/pydata/xarray/issues/4091 MDEyOklzc3VlQ29tbWVudDYzMzY0MzEzMg== mathause 10194086 2020-05-25T16:27:19Z 2020-05-25T16:27:19Z MEMBER

Yes that could be a bug:

python import xarray as xr d = xr.Dataset(coords=dict(x=5)) d.set_index({"x": "x"}) returns: TypeError: len() of unsized object


For your use case, however, you don't need to set time as an index. There are several ways how you can combine Datasets - depending on how your data actually looks like. The docs on combining may be useful. If your files are saved on disk, the docs on reading multiple datasets may be useful.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Impossible to define variable as an index when the variable has only 1 value 623872328

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