home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "MEMBER" and issue = 349857086 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 1

issue 1

  • Reduction APIs for groupby, groupby_bins, resample, rolling · 1 ✖

author_association 1

  • MEMBER · 1 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
412659630 https://github.com/pydata/xarray/issues/2363#issuecomment-412659630 https://api.github.com/repos/pydata/xarray/issues/2363 MDEyOklzc3VlQ29tbWVudDQxMjY1OTYzMA== shoyer 1217238 2018-08-13T20:51:14Z 2018-08-13T20:51:14Z MEMBER

This does seem to be a little inconsistent currently.

My original reasoning for the default groupby behavior was that that this felt more consistent with the behavior for non-grouped reductions, which reduces across all dimensions.

But it's probably less useful, and results in a lot of redundant code. I can only think of a few times when I've actually wanted this behavior, rather than summing over only the grouped dimension. Especially when going from 1D -> ND, this is a likely source of errors.

So instead, we could change this to: ds.groupby('time.month').mean() # result dims : ('month', 'x') ds.groupby('time.month').mean(dim=None) # result dims : ('month',)

Or maybe we could add a special constant xarray.ALL_DIMS to indicate all dimensions? This is probably the most readable version: ds.groupby('time.month').mean(dim=xarray.ALL_DIMS) # result dims : ('month',)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Reduction APIs for groupby, groupby_bins, resample, rolling 349857086

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