home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where issue = 898657012 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

  • max-sixty 1

issue 1

  • Inconsistent behavior in grouby depending on the dimension order · 1 ✖

author_association 1

  • MEMBER 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
846307431 https://github.com/pydata/xarray/issues/5361#issuecomment-846307431 https://api.github.com/repos/pydata/xarray/issues/5361 MDEyOklzc3VlQ29tbWVudDg0NjMwNzQzMQ== max-sixty 5635139 2021-05-21T23:24:27Z 2021-05-21T23:24:40Z MEMBER

That's surprising indeed.

I confirmed the bug was present in 0.17.0

It also seems unrelated to uniqueness in the non-grouped-by dimension:

```python In [7]: data['y'].values = [0,1,2,3]

In [8]: data['y'].values Out[8]: array([0, 1, 2, 3])

In [9]: data Out[9]: <xarray.DataArray (x: 4, z: 2)> array([[ 0.13156972, 0.13986012], [ 1.61815504, 0.11421297], [ 0.15819393, -0.5183183 ], [ 0.30672251, 0.34373302]]) Coordinates: * x (x) <U1 'a' 'b' 'a' 'c' y (x) int64 0 1 2 3 Dimensions without coordinates: z

In [10]: data.T.groupby('x').mean() Out[10]: <xarray.DataArray (z: 2, x: 3)> array([[ 0.14488182, 1.61815504, 0.30672251], [-0.18922909, 0.11421297, 0.34373302]]) Coordinates: * x (x) object 'a' 'b' 'c' y (x) int64 0 1 2 3 # <-- the size must be 3!! Dimensions without coordinates: z ```

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Inconsistent behavior in grouby depending on the dimension order 898657012

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