home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER", issue = 1226272301 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 · 2 ✖

issue 1

  • 32- vs 64-bit coordinates coordinates in where() · 2 ✖

author_association 1

  • MEMBER · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1119076731 https://github.com/pydata/xarray/issues/6573#issuecomment-1119076731 https://api.github.com/repos/pydata/xarray/issues/6573 IC_kwDOAMm_X85Cs8F7 max-sixty 5635139 2022-05-05T21:47:59Z 2022-05-05T21:47:59Z MEMBER

It could be coherent to have: - v32.x.equals(v64.x) be false — the indexes themselves aren't the same - the join allow some float imprecision (similar to method=nearest), which would conveniently allow cases like this to work

I could also imagine raising an error here and having the user coerce the type. That seems less surprising that the current situation. Other languages don't allow floats to be compared for equality at all...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  32- vs 64-bit coordinates coordinates in where() 1226272301
1118239188 https://github.com/pydata/xarray/issues/6573#issuecomment-1118239188 https://api.github.com/repos/pydata/xarray/issues/6573 IC_kwDOAMm_X85CpvnU max-sixty 5635139 2022-05-05T07:08:46Z 2022-05-05T07:08:46Z MEMBER

This does seem very odd. Does anyone have any ideas? As per @forman , changing

diff -c32 = xr.DataArray(np.linspace(0, 1, 10, dtype=np.float32), dims='x') +c32 = xr.DataArray(np.linspace(0, 1, 10, dtype=np.float64), dims='x')

...causes the assertion to pass.

I'm not sure using floats as indexes is great, but I wouldn't have expected the results to be like this...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  32- vs 64-bit coordinates coordinates in where() 1226272301

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