home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER" and issue = 270440308 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 2

issue 1

  • Serializing attrs · 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
341245412 https://github.com/pydata/xarray/issues/1681#issuecomment-341245412 https://api.github.com/repos/pydata/xarray/issues/1681 MDEyOklzc3VlQ29tbWVudDM0MTI0NTQxMg== shoyer 1217238 2017-11-01T21:16:46Z 2017-11-01T21:16:46Z MEMBER

Yes, I think that's correct.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Serializing attrs 270440308
341238029 https://github.com/pydata/xarray/issues/1681#issuecomment-341238029 https://api.github.com/repos/pydata/xarray/issues/1681 MDEyOklzc3VlQ29tbWVudDM0MTIzODAyOQ== shoyer 1217238 2017-11-01T20:49:50Z 2017-11-01T20:49:50Z MEMBER

Which netCDF library were you using? I don't think netCDF as a file format has ever supported maps as attributes.

For example, looking at the spec, attributes can be a variable-length array of any scalar type (this is specifically for netCDF3, but the rules for netCDF4 are similar): attr = name nc_type nelems [values ...] nc_type = NC_BYTE | NC_CHAR | NC_SHORT | NC_INT | NC_FLOAT | NC_DOUBLE

In practice, I believe Python APIs (including xarray's various netCDF backends) usually decode single values to scalars.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Serializing attrs 270440308

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