home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER" and issue = 105519744 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 2

issue 1

  • Upsampling - fill · 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
138994160 https://github.com/pydata/xarray/issues/563#issuecomment-138994160 https://api.github.com/repos/pydata/xarray/issues/563 MDEyOklzc3VlQ29tbWVudDEzODk5NDE2MA== shoyer 1217238 2015-09-09T18:07:32Z 2015-09-09T18:07:32Z MEMBER

Upsampling (in both xray and pandas) is done through a reindex operation. So doing filling while resampling is simply a matter of adding a fill_method argument to resample [1], passing it on to the GroupBy object [2], and using it for the method argument when we call _maybe_restore_empty_groups [3].

Here are the relevant lines in xray: [1] https://github.com/xray/xray/blob/v0.6.0/xray/core/common.py#L277-L351 [2] https://github.com/xray/xray/blob/v0.6.0/xray/core/groupby.py#L86 [3] https://github.com/xray/xray/blob/v0.6.0/xray/core/groupby.py#L221-L229

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Upsampling - fill 105519744
138791166 https://github.com/pydata/xarray/issues/563#issuecomment-138791166 https://api.github.com/repos/pydata/xarray/issues/563 MDEyOklzc3VlQ29tbWVudDEzODc5MTE2Ng== shoyer 1217238 2015-09-09T05:44:52Z 2015-09-09T05:44:52Z MEMBER

It would be pretty straightforward to add the pandas up-sampling fill methods. This is not on my immediate priority list, but I'm happy to point you in the right direction if you're interested in making a contribution.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Upsampling - fill 105519744

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