home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER", issue = 436669736 and user = 2448579 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

  • dcherian · 3 ✖

issue 1

  • xr.open_dataset no groups info · 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
511155810 https://github.com/pydata/xarray/issues/2916#issuecomment-511155810 https://api.github.com/repos/pydata/xarray/issues/2916 MDEyOklzc3VlQ29tbWVudDUxMTE1NTgxMA== dcherian 2448579 2019-07-13T21:42:34Z 2019-07-13T21:42:34Z MEMBER

Actually I don't think that is a good idea any more. A Dataset represents a single group so it's weird to print group info under a dataset repr

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset no groups info 436669736
489144594 https://github.com/pydata/xarray/issues/2916#issuecomment-489144594 https://api.github.com/repos/pydata/xarray/issues/2916 MDEyOklzc3VlQ29tbWVudDQ4OTE0NDU5NA== dcherian 2448579 2019-05-03T15:54:28Z 2019-05-03T15:54:28Z MEMBER

@shoyer What about adding groups to just the repr? That way the user knows there are group names they can pass to open_dataset

python <xarray.Dataset> Dimensions: () Groups: Audio Data variables: *empty*

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset no groups info 436669736
486276970 https://github.com/pydata/xarray/issues/2916#issuecomment-486276970 https://api.github.com/repos/pydata/xarray/issues/2916 MDEyOklzc3VlQ29tbWVudDQ4NjI3Njk3MA== dcherian 2448579 2019-04-24T14:55:10Z 2019-04-24T14:55:10Z MEMBER

I'm in favour of printing out a nice warning message when the netcdf file has groups. Listing them would be even better.

Also it looks like the docs need to be updated to mention netCDF groups: https://xarray.pydata.org/en/stable/io.html#netcdf

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xr.open_dataset no groups info 436669736

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