home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 169368546 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • shoyer 1
  • benbovy 1
  • max-sixty 1

issue 1

  • Filtering by data variable name · 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
237652869 https://github.com/pydata/xarray/issues/942#issuecomment-237652869 https://api.github.com/repos/pydata/xarray/issues/942 MDEyOklzc3VlQ29tbWVudDIzNzY1Mjg2OQ== benbovy 4160723 2016-08-04T19:09:05Z 2016-08-04T19:09:05Z MEMBER

My mistake, it definitely makes no sense to add a filter_by_name method! When opening this issue I actually didn't fully get the way .filter would work. I close this.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Filtering by data variable name 169368546
237613390 https://github.com/pydata/xarray/issues/942#issuecomment-237613390 https://api.github.com/repos/pydata/xarray/issues/942 MDEyOklzc3VlQ29tbWVudDIzNzYxMzM5MA== shoyer 1217238 2016-08-04T16:50:23Z 2016-08-04T16:50:23Z MEMBER

I would suggest ds.filter(like='reference__'), which is how pandas handles this.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Filtering by data variable name 169368546
237590156 https://github.com/pydata/xarray/issues/942#issuecomment-237590156 https://api.github.com/repos/pydata/xarray/issues/942 MDEyOklzc3VlQ29tbWVudDIzNzU5MDE1Ng== max-sixty 5635139 2016-08-04T15:31:46Z 2016-08-04T15:31:46Z MEMBER

I think a .filter is for sure worthwhile, so your example becomes: xr.Dataset.filter(lambda x: 'reference__' in x).

I'm -0 on filter_by_name given it's another method and adds just a little bit to filter

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Filtering by data variable name 169368546

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