home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 189415576 and user = 1310437 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

  • burnpanck · 2 ✖

issue 1

  • Performance degradation: `DataArray` with `dtype=object` of `DataArray` gets very slow indexing · 2 ✖

author_association 1

  • CONTRIBUTOR 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
260704684 https://github.com/pydata/xarray/issues/1121#issuecomment-260704684 https://api.github.com/repos/pydata/xarray/issues/1121 MDEyOklzc3VlQ29tbWVudDI2MDcwNDY4NA== burnpanck 1310437 2016-11-15T17:15:25Z 2016-11-15T17:15:25Z CONTRIBUTOR

I think I found it (#1122). I guess whenever a non-scalar assignment is made (as in result[:] = [value]), something like np.asanyarray is performed on the new value. Luckily, numpy is perfectly happy with indexing of a 0d array with a 0d index (i.e. an empty tuple). Thinking about it, result[0] = value would probably have worked too.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Performance degradation: `DataArray` with `dtype=object` of `DataArray` gets very slow indexing 189415576
260697960 https://github.com/pydata/xarray/issues/1121#issuecomment-260697960 https://api.github.com/repos/pydata/xarray/issues/1121 MDEyOklzc3VlQ29tbWVudDI2MDY5Nzk2MA== burnpanck 1310437 2016-11-15T16:52:41Z 2016-11-15T16:52:41Z CONTRIBUTOR

Well, xarrays are way too useful not to nest them, even if that involves the scary dtype=object :-). Thanks for pointing me in the right direction, I'll try to find a fix.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Performance degradation: `DataArray` with `dtype=object` of `DataArray` gets very slow indexing 189415576

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