home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 308768432 and user = 1217238 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 · 3 ✖

issue 1

  • Allow _FillValue and missing_value to differ (Fixes #1749) · 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
382924824 https://github.com/pydata/xarray/pull/2016#issuecomment-382924824 https://api.github.com/repos/pydata/xarray/issues/2016 MDEyOklzc3VlQ29tbWVudDM4MjkyNDgyNA== shoyer 1217238 2018-04-20T00:35:22Z 2018-04-20T00:35:22Z MEMBER

Well, we're not going to perfectly round-trip data that uses both _FillValue and missing_value. That isn't possible with xarray's data model.

But we should certainly not raise errors when round-tripping. I see a few reasonable options: - Don't store missing_value in encoding. This would entail removing the use of pop_to with missing_value in decode(). - Add some logic to encode() to check which of _FillValue and/or missing_value are defined. Use the attribute is defined and write it to attribute. If both are defined, ignore/drop missing_value.

As a regression test, we should verify that code.encode(coder.decode(var)) == var (including explicitly checking encoding).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Allow _FillValue and missing_value to differ (Fixes #1749) 308768432
377655414 https://github.com/pydata/xarray/pull/2016#issuecomment-377655414 https://api.github.com/repos/pydata/xarray/issues/2016 MDEyOklzc3VlQ29tbWVudDM3NzY1NTQxNA== shoyer 1217238 2018-03-31T01:16:04Z 2018-03-31T01:16:04Z MEMBER

thanks!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Allow _FillValue and missing_value to differ (Fixes #1749) 308768432
376992123 https://github.com/pydata/xarray/pull/2016#issuecomment-376992123 https://api.github.com/repos/pydata/xarray/issues/2016 MDEyOklzc3VlQ29tbWVudDM3Njk5MjEyMw== shoyer 1217238 2018-03-28T18:38:47Z 2018-03-28T18:38:47Z MEMBER

please merge in master, which fixes the failing tests.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Allow _FillValue and missing_value to differ (Fixes #1749) 308768432

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