home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER", issue = 1624560934 and user = 5821660 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

  • kmuehlbauer · 3 ✖

issue 1

  • .loc[] cannot find a value that .sel() can find without problem · 3 ✖

author_association 1

  • MEMBER · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1527541305 https://github.com/pydata/xarray/issues/7630#issuecomment-1527541305 https://api.github.com/repos/pydata/xarray/issues/7630 IC_kwDOAMm_X85bDG45 kmuehlbauer 5821660 2023-04-28T13:09:22Z 2023-04-28T13:09:22Z MEMBER

@AlxndrLhr I suppose your original issue is resolved. Please reopen or create a new issue if you still have problems with this.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  .loc[] cannot find a value that .sel() can find without problem 1624560934
1469754531 https://github.com/pydata/xarray/issues/7630#issuecomment-1469754531 https://api.github.com/repos/pydata/xarray/issues/7630 IC_kwDOAMm_X85Xmqyj kmuehlbauer 5821660 2023-03-15T10:33:43Z 2023-03-15T10:33:43Z MEMBER

Everyday something new to learn, thanks @keewis!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  .loc[] cannot find a value that .sel() can find without problem 1624560934
1469497104 https://github.com/pydata/xarray/issues/7630#issuecomment-1469497104 https://api.github.com/repos/pydata/xarray/issues/7630 IC_kwDOAMm_X85Xlr8Q kmuehlbauer 5821660 2023-03-15T07:38:13Z 2023-03-15T07:38:13Z MEMBER

@AlxndrLhr .loc is positional. The correct invocation would be:

python nc.loc[dt]

This would try to locate dt in the first dimension of nc.

If you would append your time-dimension to the end, this would look like:

```python nc = nc.expand_dims(time=times_, axis=-1) nc.loc[..., dt]

or

nc.loc[:, :, dt] ```

A good first read: https://docs.xarray.dev/en/stable/user-guide/indexing.html#indexing-and-selecting-data

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  .loc[] cannot find a value that .sel() can find without problem 1624560934

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