home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 1522810384 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: reactions, created_at (date), updated_at (date)

user 2

  • tomwhite 2
  • Illviljan 1

author_association 2

  • CONTRIBUTOR 2
  • MEMBER 1

issue 1

  • array api - Add tests for aggregations · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1516345065 https://github.com/pydata/xarray/pull/7424#issuecomment-1516345065 https://api.github.com/repos/pydata/xarray/issues/7424 IC_kwDOAMm_X85aYZbp tomwhite 85085 2023-04-20T13:37:13Z 2023-04-20T13:37:13Z CONTRIBUTOR

Related issue: https://github.com/data-apis/array-api/issues/621

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 1
}
  array api - Add tests for aggregations 1522810384
1471758792 https://github.com/pydata/xarray/pull/7424#issuecomment-1471758792 https://api.github.com/repos/pydata/xarray/issues/7424 IC_kwDOAMm_X85XuUHI tomwhite 85085 2023-03-16T11:15:33Z 2023-03-16T11:15:33Z CONTRIBUTOR

I was hoping https://github.com/data-apis/array-api-compat might help with this, but I'm not sure it does...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  array api - Add tests for aggregations 1522810384
1373979208 https://github.com/pydata/xarray/pull/7424#issuecomment-1373979208 https://api.github.com/repos/pydata/xarray/issues/7424 IC_kwDOAMm_X85R5UJI Illviljan 14371165 2023-01-06T18:18:56Z 2023-01-15T16:09:05Z MEMBER

The array api standard doesn't define any nan*-functions. xarray pretty much always defaults to using nan*-function. :(

So any time an array has a __array_namespace__ we have to use our own nan-solution, like for .sum: https://github.com/pydata/xarray/blob/d6d24507793af9bcaed79d7f8d3ac910e176f1ce/xarray/core/duck_array_ops.py#L288-L295

Any thoughts? Are there any clever ways to handle the aggregations with NaNs in a generic way?

edit: numpy implementations: https://github.com/numpy/numpy/blob/main/numpy/lib/nanfunctions.py

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  array api - Add tests for aggregations 1522810384

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