home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 391477755 and user = 6815844 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

  • fujiisoup · 3 ✖

issue 1

  • Added Coarsen · 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
449158415 https://github.com/pydata/xarray/pull/2612#issuecomment-449158415 https://api.github.com/repos/pydata/xarray/issues/2612 MDEyOklzc3VlQ29tbWVudDQ0OTE1ODQxNQ== fujiisoup 6815844 2018-12-20T22:38:19Z 2018-12-20T22:39:20Z MEMBER

During writing the test codes, I realized that the default boundary='exact' is a little annoying. It would be rare that the length of the data is exactly a multiple of the window size; we almost always need to type bounary='trim' or the other. I personally think that boundary='pad' is also a good default, as it is a similar behaviour to rolling.

The down side of this is that it can make a uniformly spaced data an inhomogeneously spaced one. It is something what users may not expect. (probably boundary='exact is safer)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Added Coarsen 391477755
449142367 https://github.com/pydata/xarray/pull/2612#issuecomment-449142367 https://api.github.com/repos/pydata/xarray/issues/2612 MDEyOklzc3VlQ29tbWVudDQ0OTE0MjM2Nw== fujiisoup 6815844 2018-12-20T21:33:22Z 2018-12-20T21:33:22Z MEMBER

Updated. The main change is 1. API updated to python dataset.coarsen(self, dim=None, boundary='exact', side='left', coordinate_func='mean', **dim_kwargs): based on comments.

  1. nanmean for DateTime was implemented. This is a kind of backward incompatible. Previously, we raised an Error if mean is applied to a datetime array.
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Added Coarsen 391477755
447736226 https://github.com/pydata/xarray/pull/2612#issuecomment-447736226 https://api.github.com/repos/pydata/xarray/issues/2612 MDEyOklzc3VlQ29tbWVudDQ0NzczNjIyNg== fujiisoup 6815844 2018-12-17T06:27:35Z 2018-12-17T06:27:35Z MEMBER

@dcherian Thanks.

(da.time - da.time[0]).mean() + da.time[0] I would add mean for datetime-arrays.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Added Coarsen 391477755

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