home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER" and issue = 35633124 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 2

  • shoyer 1
  • jhamman 1

issue 1

  • Expose a public interface for CF encoding/decoding functions · 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
460126751 https://github.com/pydata/xarray/issues/155#issuecomment-460126751 https://api.github.com/repos/pydata/xarray/issues/155 MDEyOklzc3VlQ29tbWVudDQ2MDEyNjc1MQ== shoyer 1217238 2019-02-04T04:17:40Z 2019-02-04T04:17:40Z MEMBER

I think the eventual interface we want is something like this: - CF decoding in open_dataset is controlled by a coders argument, which takes a list of coders to apply in order. - CF encoding in to_netcdf is also controlled by a coders argument, which takes a list of coders to apply in reversed order. - Helper functions (get_coders()?) make it easy to construct the default coders, e.g., with boolean options for disabling particular coders.

To complete this, we'll need to get all CF encoding/decoding happening in Coder classes. VariableCoder might not suffice -- we also need a way to indicate transformations of a full dataset (e.g., for coding/decoding coordinates).

Eventually, it should be possible to read a dataset without any CF decoding (e.g., by setting coders=[]).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Expose a public interface for CF encoding/decoding functions 35633124
460125768 https://github.com/pydata/xarray/issues/155#issuecomment-460125768 https://api.github.com/repos/pydata/xarray/issues/155 MDEyOklzc3VlQ29tbWVudDQ2MDEyNTc2OA== jhamman 2443309 2019-02-04T04:08:15Z 2019-02-04T04:08:15Z MEMBER

@shoyer - I know we've made some steps towards addressing some of this issue (e.g. #1752, #1803). What do you think it would take to make that the coding module public API?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Expose a public interface for CF encoding/decoding functions 35633124

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