home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "MEMBER", issue = 112254767 and user = 5635139 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

  • Confusing error (or lack thereof) when coordinate and variable share the same name · 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
484934985 https://github.com/pydata/xarray/issues/631#issuecomment-484934985 https://api.github.com/repos/pydata/xarray/issues/631 MDEyOklzc3VlQ29tbWVudDQ4NDkzNDk4NQ== max-sixty 5635139 2019-04-19T15:39:54Z 2019-04-19T15:39:54Z MEMBER

Adding a v confusing error message which my colleague just hit (not exactly the same as this, but thought it wasn't worth a whole new issue):

```

In [10]: xr.DataArray( ...: data=1, ...: coords={ ...: 'test':[1]#, ...: }, ...: dims=['test'] ...: )


KeyError Traceback (most recent call last) <ipython-input-10-41a019d49aae> in <module> 4 'test':[1]#, 5 }, ----> 6 dims=['test'] 7 )

~/workspace/xarray/xarray/core/dataarray.py in init(self, data, coords, dims, name, attrs, encoding, indexes, fastpath) 228 229 data = as_compatible_data(data) --> 230 coords, dims = _infer_coords_and_dims(data.shape, coords, dims) 231 variable = Variable(dims, data, attrs, encoding, fastpath=True) 232

~/workspace/xarray/xarray/core/dataarray.py in _infer_coords_and_dims(shape, coords, dims) 76 77 for d, s in zip(v.dims, v.shape): ---> 78 if s != sizes[d]: 79 raise ValueError('conflicting sizes for dimension %r: ' 80 'length %s on the data but length %s on '

KeyError: 'test' ```

...nothing to do with the test entry, it's that data is a scalar

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Confusing error (or lack thereof) when coordinate and variable share the same name 112254767

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