home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where 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 2

  • shoyer 2
  • slharris 2

author_association 2

  • MEMBER 2
  • NONE 2

issue 1

  • Upsampling - fill · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
140625189 https://github.com/pydata/xarray/issues/563#issuecomment-140625189 https://api.github.com/repos/pydata/xarray/issues/563 MDEyOklzc3VlQ29tbWVudDE0MDYyNTE4OQ== slharris 12929592 2015-09-16T04:40:00Z 2017-10-12T19:04:48Z NONE

I am sorry but I do not think I can make a contribution. I really do not know what I am doing!

I hope someone with some skills can add the fill method for up-sampling?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Upsampling - fill 105519744
138793112 https://github.com/pydata/xarray/issues/563#issuecomment-138793112 https://api.github.com/repos/pydata/xarray/issues/563 MDEyOklzc3VlQ29tbWVudDEzODc5MzExMg== slharris 12929592 2015-09-09T05:56:23Z 2017-10-12T19:04:34Z NONE

I could try....

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Upsampling - fill 105519744
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 481.174ms · About: xarray-datasette