home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER" and issue = 365946491 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 1
  • max-sixty 1

issue 1

  • name of array disappear when apply "where" filter with Datarray but not with np.array · 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
426328543 https://github.com/pydata/xarray/issues/2457#issuecomment-426328543 https://api.github.com/repos/pydata/xarray/issues/2457 MDEyOklzc3VlQ29tbWVudDQyNjMyODU0Mw== max-sixty 5635139 2018-10-02T15:55:35Z 2018-10-02T15:55:35Z MEMBER

Confirmed. To show the specific result:

``` ds['temperature'].name

'temperature'

ds["temperature"].where(ds.precipitation>5).name

None

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  name of array disappear when apply "where" filter with Datarray but not with np.array  365946491
426328269 https://github.com/pydata/xarray/issues/2457#issuecomment-426328269 https://api.github.com/repos/pydata/xarray/issues/2457 MDEyOklzc3VlQ29tbWVudDQyNjMyODI2OQ== shoyer 1217238 2018-10-02T15:54:56Z 2018-10-02T15:54:56Z MEMBER

We currently drop names because that's our default behavior for xarray operations with multiple named arguments. But the where method uses apply_ufunc() with keep_attrs=True, which indicates that attributes from the first object should be kept. It would probably make sense to keep the name of the first object, too, when using keep_attrs=True. That would fix this issue and also fix the problem for other xarray methods (e.g., fillna) that use the same logic internally.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  name of array disappear when apply "where" filter with Datarray but not with np.array  365946491

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