home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where issue = 818266159 and user = 625462 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

  • chrism0dwk · 1 ✖

issue 1

  • NetCDF encoded data not automatically decoded back into original dtype · 1 ✖

author_association 1

  • NONE 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
789714818 https://github.com/pydata/xarray/issues/4973#issuecomment-789714818 https://api.github.com/repos/pydata/xarray/issues/4973 MDEyOklzc3VlQ29tbWVudDc4OTcxNDgxOA== chrism0dwk 625462 2021-03-03T13:30:10Z 2021-03-03T13:30:10Z NONE

@mathause Maybe I'm misunderstanding the concept of encoding in xarray. In the "Writing encoded data" section of the xarray doc, it states

The encoding argument takes a dictionary with variable names as keys and variable specific encodings as values. These encodings are saved as attributes on the netCDF variables on disk, which allows xarray to faithfully read encoded data back into memory.

I took this to imply that a dataset of type float64 could be "compressed" to float32 within the NetCDF4 file, and be transparently read back to a float64 data structure on reading. Having looked more closely at the NetCDF4 spec, I can't see any way to save this information into the file without adding an arbitrary non-spec attribute. Would be a cool feature, though.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  NetCDF encoded data not automatically decoded back into original dtype 818266159

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