home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 576502871 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

  • encode_cf_datetime() casts dask arrays to NumPy arrays · 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
595519344 https://github.com/pydata/xarray/issues/3834#issuecomment-595519344 https://api.github.com/repos/pydata/xarray/issues/3834 MDEyOklzc3VlQ29tbWVudDU5NTUxOTM0NA== shoyer 1217238 2020-03-06T00:47:45Z 2020-03-06T00:47:45Z MEMBER

Right, it casts to NumPy because it needs to look at the data to figure out units and calendar.

That said, if you pre-supply units and calendar there's no reason why it couldn't work with dask arrays. That would probably be a worthwhile refactor.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  encode_cf_datetime() casts dask arrays to NumPy arrays 576502871
595466020 https://github.com/pydata/xarray/issues/3834#issuecomment-595466020 https://api.github.com/repos/pydata/xarray/issues/3834 MDEyOklzc3VlQ29tbWVudDU5NTQ2NjAyMA== jhamman 2443309 2020-03-05T21:52:16Z 2020-03-05T21:52:16Z MEMBER

Thanks @andersy005 for the clear example. Looking at encode_cf_datetime(), it seems like we didn't intend to make this function dask friendly. Perhaps @spencerkclark or @shoyer have thoughts on the prospects of making this work. My guess is that this will be pretty tricky, mostly because in some cases, we infer the units/dtype/etc on the fly.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  encode_cf_datetime() casts dask arrays to NumPy arrays 576502871

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