home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 232726778 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • shoyer 2
  • d-chambers 1

author_association 2

  • MEMBER 2
  • NONE 1

issue 1

  • Wrong dimension referenced in boolean indexing with .loc · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
338069167 https://github.com/pydata/xarray/issues/1436#issuecomment-338069167 https://api.github.com/repos/pydata/xarray/issues/1436 MDEyOklzc3VlQ29tbWVudDMzODA2OTE2Nw== shoyer 1217238 2017-10-19T23:54:03Z 2017-10-19T23:54:03Z MEMBER

Fixed by #1639

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Wrong dimension referenced in boolean indexing with .loc 232726778
305349620 https://github.com/pydata/xarray/issues/1436#issuecomment-305349620 https://api.github.com/repos/pydata/xarray/issues/1436 MDEyOklzc3VlQ29tbWVudDMwNTM0OTYyMA== shoyer 1217238 2017-05-31T23:48:34Z 2017-05-31T23:48:34Z MEMBER

Xarray's indexing currently ignores dimension/index labels, which I agree is not ideal (and can lead to surprising behavior like this): https://github.com/pydata/xarray/issues/974

Another work-around is to use where, e.g., dar.where(dar.Z > 1000).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Wrong dimension referenced in boolean indexing with .loc 232726778
305348405 https://github.com/pydata/xarray/issues/1436#issuecomment-305348405 https://api.github.com/repos/pydata/xarray/issues/1436 MDEyOklzc3VlQ29tbWVudDMwNTM0ODQwNQ== d-chambers 11671536 2017-05-31T23:39:43Z 2017-05-31T23:39:43Z NONE

I should point out It does work when I specify the dimension with a dict: python dar2 = dar.loc[{'Z': dar.Z > 1000}] assert np.all(dar2.Z > 1000) # doesn't raise

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Wrong dimension referenced in boolean indexing with .loc 232726778

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