home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 903983811 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 4

  • malmans2 3
  • dcherian 1
  • max-sixty 1
  • keewis 1

author_association 2

  • CONTRIBUTOR 3
  • MEMBER 3

issue 1

  • KeyError when trying to select a list of DataArrays with different name type · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
849897412 https://github.com/pydata/xarray/issues/5387#issuecomment-849897412 https://api.github.com/repos/pydata/xarray/issues/5387 MDEyOklzc3VlQ29tbWVudDg0OTg5NzQxMg== malmans2 22245117 2021-05-27T19:51:41Z 2021-05-27T19:51:41Z CONTRIBUTOR

All tests are passing with dtype='O', although I'm not fully following why asarray is needed in the first place. I'll open a PR so we can start from there...

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  KeyError when trying to select a list of DataArrays with different name type 903983811
849887667 https://github.com/pydata/xarray/issues/5387#issuecomment-849887667 https://api.github.com/repos/pydata/xarray/issues/5387 MDEyOklzc3VlQ29tbWVudDg0OTg4NzY2Nw== max-sixty 5635139 2021-05-27T19:35:07Z 2021-05-27T19:35:07Z MEMBER

np.asarray(key, dtype='O') fixes the bug, not sure if there's any downside

Interesting! It might be worth seeing whether anything breaks.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  KeyError when trying to select a list of DataArrays with different name type 903983811
849818227 https://github.com/pydata/xarray/issues/5387#issuecomment-849818227 https://api.github.com/repos/pydata/xarray/issues/5387 MDEyOklzc3VlQ29tbWVudDg0OTgxODIyNw== malmans2 22245117 2021-05-27T17:41:37Z 2021-05-27T17:41:37Z CONTRIBUTOR

np.asarray(key, dtype='O') fixes the bug, not sure if there's any downside

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  KeyError when trying to select a list of DataArrays with different name type 903983811
849815977 https://github.com/pydata/xarray/issues/5387#issuecomment-849815977 https://api.github.com/repos/pydata/xarray/issues/5387 MDEyOklzc3VlQ29tbWVudDg0OTgxNTk3Nw== malmans2 22245117 2021-05-27T17:37:52Z 2021-05-27T17:37:52Z CONTRIBUTOR

I think np.asarray is converting everything to strings: https://github.com/pydata/xarray/blob/a6a1e48b57499f91db7e7c15593aadc7930020e8/xarray/core/dataset.py#L1488

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  KeyError when trying to select a list of DataArrays with different name type 903983811
849809901 https://github.com/pydata/xarray/issues/5387#issuecomment-849809901 https://api.github.com/repos/pydata/xarray/issues/5387 MDEyOklzc3VlQ29tbWVudDg0OTgwOTkwMQ== dcherian 2448579 2021-05-27T17:27:56Z 2021-05-27T17:27:56Z MEMBER

ds[1] and ds[[1]] works too

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  KeyError when trying to select a list of DataArrays with different name type 903983811
849789107 https://github.com/pydata/xarray/issues/5387#issuecomment-849789107 https://api.github.com/repos/pydata/xarray/issues/5387 MDEyOklzc3VlQ29tbWVudDg0OTc4OTEwNw== keewis 14808389 2021-05-27T16:54:38Z 2021-05-27T16:54:38Z MEMBER

that looks like a bug: accessing the variables separately is possible.

Somewhat related, we seem to have broken the repr of ds.variables.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  KeyError when trying to select a list of DataArrays with different name type 903983811

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 22.622ms · About: xarray-datasette
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows