home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 507211596 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

  • fmaussion 1
  • cwerner 1

author_association 2

  • MEMBER 1
  • NONE 1

issue 1

  • With sel_points deprecated, how do you replace it? · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
542224664 https://github.com/pydata/xarray/issues/3399#issuecomment-542224664 https://api.github.com/repos/pydata/xarray/issues/3399 MDEyOklzc3VlQ29tbWVudDU0MjIyNDY2NA== cwerner 13906519 2019-10-15T13:55:48Z 2019-10-15T13:55:48Z NONE

Great!

Seems I was simply missing the new dim z in my attempts. Could not translate to the new format... Thanks a bunch!!!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  With sel_points deprecated, how do you replace it? 507211596
542223429 https://github.com/pydata/xarray/issues/3399#issuecomment-542223429 https://api.github.com/repos/pydata/xarray/issues/3399 MDEyOklzc3VlQ29tbWVudDU0MjIyMzQyOQ== fmaussion 10050469 2019-10-15T13:53:27Z 2019-10-15T13:53:27Z MEMBER

Hi, the docs is here: http://xarray.pydata.org/en/stable/indexing.html#more-advanced-indexing

So your example would read:

```python import numpy as np import xarray as xr da = xr.DataArray(np.arange(16).reshape((4,4)), coords=[('lat', [40,45,50,55]), ('lon', [5,10,15,20])])

points = da.sel(lat=xr.DataArray([40.1, 42.3, 39.78], dims='z'), lon=xr.DataArray([7.1, 6.2, 13.2], dims='z'), method='nearest') ```

Arguably, the "more advanced indexing" title could be renamed to something more explicit.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  With sel_points deprecated, how do you replace it? 507211596

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