home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER", issue = 935279688 and user = 2448579 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

  • dcherian · 3 ✖

issue 1

  • conditionally disable bottleneck · 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
897697868 https://github.com/pydata/xarray/pull/5560#issuecomment-897697868 https://api.github.com/repos/pydata/xarray/issues/5560 IC_kwDOAMm_X841gchM dcherian 2448579 2021-08-12T14:41:30Z 2021-08-12T14:41:30Z MEMBER

Thanks @keewis. We can extend the tests for rolling later.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  conditionally disable bottleneck 935279688
884366726 https://github.com/pydata/xarray/pull/5560#issuecomment-884366726 https://api.github.com/repos/pydata/xarray/issues/5560 IC_kwDOAMm_X840tl2G dcherian 2448579 2021-07-21T17:35:36Z 2021-07-21T17:35:36Z MEMBER

so disabling bottleneck would fail the function. Should we just silently use bottleneck, or raise an error?

Ah this is a good test!

python with xr.set_options(use_bottleneck=False): with pytest.raises(...): dataarray.ffill()

IMO it should raise an error so that use_bottleneck is a "global" control on whether xarray uses bottleneck or not. The context manager gives the user some flexibility to opt-in to using bottleneck where they want to.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  conditionally disable bottleneck 935279688
872623510 https://github.com/pydata/xarray/pull/5560#issuecomment-872623510 https://api.github.com/repos/pydata/xarray/issues/5560 MDEyOklzc3VlQ29tbWVudDg3MjYyMzUxMA== dcherian 2448579 2021-07-02T00:09:36Z 2021-07-02T00:09:51Z MEMBER

We use it in other places too (for e.g.): https://github.com/pydata/xarray/blob/c472f8a4c79f872edb9dcd7825f786ecb9aff5c0/xarray/core/nputils.py#L139-L147

xr.set_options(accelerate_with="bottleneck")

I like this idea but we should wait for more input.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  conditionally disable bottleneck 935279688

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