home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where author_association = "MEMBER" and issue = 218315793 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • rabernat 2
  • shoyer 2
  • mrocklin 1

issue 1

  • Dask Persist · 5 ✖

author_association 1

  • MEMBER · 5 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
290586126 https://github.com/pydata/xarray/issues/1344#issuecomment-290586126 https://api.github.com/repos/pydata/xarray/issues/1344 MDEyOklzc3VlQ29tbWVudDI5MDU4NjEyNg== shoyer 1217238 2017-03-31T00:55:06Z 2017-03-31T00:55:14Z MEMBER

In this example, are x, y and z dask objects or xarray objects?

I think the idea is that they could be mixed types, e.g., a dask-dataframe, a dask-array and an xarray Dataset or DataArray.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Dask Persist 218315793
290585910 https://github.com/pydata/xarray/issues/1344#issuecomment-290585910 https://api.github.com/repos/pydata/xarray/issues/1344 MDEyOklzc3VlQ29tbWVudDI5MDU4NTkxMA== rabernat 1197350 2017-03-31T00:53:23Z 2017-03-31T00:53:23Z MEMBER

In this example, are x, y and z dask objects or xarray objects?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Dask Persist 218315793
290539816 https://github.com/pydata/xarray/issues/1344#issuecomment-290539816 https://api.github.com/repos/pydata/xarray/issues/1344 MDEyOklzc3VlQ29tbWVudDI5MDUzOTgxNg== mrocklin 306380 2017-03-30T20:46:27Z 2017-03-30T20:46:27Z MEMBER

We do eventually want to support some sort of duck typing. This way people can do things like the following while still benefiting from shared intermediates:

x, y, z = dask.persist(my_df, my_arrray, my_xarray)

But this may not happen as quickly as a .persist method. Also we've added .persist to the Base dask collections class, so it's part of the standard dask API at this point.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Dask Persist 218315793
290539160 https://github.com/pydata/xarray/issues/1344#issuecomment-290539160 https://api.github.com/repos/pydata/xarray/issues/1344 MDEyOklzc3VlQ29tbWVudDI5MDUzOTE2MA== rabernat 1197350 2017-03-30T20:44:00Z 2017-03-30T20:44:00Z MEMBER

since we already have .load(), I think adding .persist() directly to xarray is the simplest way to go. Ideally xarray users should be able to avoid interacting directly with the dask api. (It's a beautiful api, don't get me wrong! but new users are easily overwhelmed by multiple interacting packages.)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Dask Persist 218315793
290535432 https://github.com/pydata/xarray/issues/1344#issuecomment-290535432 https://api.github.com/repos/pydata/xarray/issues/1344 MDEyOklzc3VlQ29tbWVudDI5MDUzNTQzMg== shoyer 1217238 2017-03-30T20:29:56Z 2017-03-30T20:29:56Z MEMBER

I'm happy with either or both of these solutions.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Dask Persist 218315793

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