home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "NONE" and user = 6333189 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

  • matmel · 1 ✖

issue 1

  • Assigning several variables at once in a dataset 1

author_association 1

  • NONE · 1 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
260744511 https://github.com/pydata/xarray/issues/1123#issuecomment-260744511 https://api.github.com/repos/pydata/xarray/issues/1123 MDEyOklzc3VlQ29tbWVudDI2MDc0NDUxMQ== matmel 6333189 2016-11-15T19:40:20Z 2016-11-15T19:40:20Z NONE

Ok, nevermind, I've re-read the documentation and I just checked that I need to use the update method. Thus, the last line should be replaced with:

python ds.update(ds[['varA', 'varB']] - ds[['varA', 'varB']].mean(dim='time'))

and it works as intended.

Probably that the way to assign several variables at once in a Dataset should be emphasized in the documentation with an example.

Thanks.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Assigning several variables at once in a dataset 189481649

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