home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 857378504 and user = 3958036 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

  • johnomotani · 2 ✖

issue 1

  • cumulative_integrate() method · 2 ✖

author_association 1

  • CONTRIBUTOR 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
830637894 https://github.com/pydata/xarray/pull/5153#issuecomment-830637894 https://api.github.com/repos/pydata/xarray/issues/5153 MDEyOklzc3VlQ29tbWVudDgzMDYzNzg5NA== johnomotani 3958036 2021-05-01T14:01:36Z 2021-05-01T14:01:36Z CONTRIBUTOR

The vote seems to be for a separate cumulative_integrate method - I've made that change.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  cumulative_integrate() method 857378504
819120258 https://github.com/pydata/xarray/pull/5153#issuecomment-819120258 https://api.github.com/repos/pydata/xarray/issues/5153 MDEyOklzc3VlQ29tbWVudDgxOTEyMDI1OA== johnomotani 3958036 2021-04-13T23:43:12Z 2021-04-13T23:43:12Z CONTRIBUTOR

There's a cumtrapz in https://github.com/fujiisoup/xr-scipy/blob/master/xrscipy/integrate.py. Does that help?

I did a quick check and it seems like applying scipy.integrate.cumtrapz to a dask array returns a numpy array, whereas the duck_array_ops.cumulative_trapezoid that I copied from duck_array_ops.trapz does return a dask array (so I assume it must not force a compute?). Maybe @fujiisoup has thoughts though?

BTW the test failures are in test_cftimeindex.py so I assume they're unrelated to these changes.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  cumulative_integrate() method 857378504

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