home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where author_association = "MEMBER" and issue = 29220463 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

  • shoyer 5

issue 1

  • Modified Dataset.replace to replace a dictionary of variables · 5 ✖

author_association 1

  • MEMBER · 5 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
39058527 https://github.com/pydata/xarray/pull/62#issuecomment-39058527 https://api.github.com/repos/pydata/xarray/issues/62 MDEyOklzc3VlQ29tbWVudDM5MDU4NTI3 shoyer 1217238 2014-03-31T06:57:38Z 2014-03-31T06:57:38Z MEMBER

Replaced by #87.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Modified Dataset.replace to replace a dictionary of variables 29220463
37432745 https://github.com/pydata/xarray/pull/62#issuecomment-37432745 https://api.github.com/repos/pydata/xarray/issues/62 MDEyOklzc3VlQ29tbWVudDM3NDMyNzQ1 shoyer 1217238 2014-03-12T16:49:05Z 2014-03-12T16:49:05Z MEMBER

I'm thinking now that we should move Dataset.replace into Dataset.set_variables, with the keyword argument "inplace" (like Dataset.merge). This would consolidate the public interface (which is usually a good thing).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Modified Dataset.replace to replace a dictionary of variables 29220463
37376178 https://github.com/pydata/xarray/pull/62#issuecomment-37376178 https://api.github.com/repos/pydata/xarray/issues/62 MDEyOklzc3VlQ29tbWVudDM3Mzc2MTc4 shoyer 1217238 2014-03-12T05:10:45Z 2014-03-12T05:10:45Z MEMBER

Yes, I suppose update would be an appropriate name -- except update strongly conveys (to me) that the operation is done in place (like how it works for Python dicts).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Modified Dataset.replace to replace a dictionary of variables 29220463
37375305 https://github.com/pydata/xarray/pull/62#issuecomment-37375305 https://api.github.com/repos/pydata/xarray/issues/62 MDEyOklzc3VlQ29tbWVudDM3Mzc1MzA1 shoyer 1217238 2014-03-12T04:48:51Z 2014-03-12T04:48:51Z MEMBER

Perhaps this method should be called "modify" instead of "replace", since it also lets you set or remove variables. Thoughts?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Modified Dataset.replace to replace a dictionary of variables 29220463
37358060 https://github.com/pydata/xarray/pull/62#issuecomment-37358060 https://api.github.com/repos/pydata/xarray/issues/62 MDEyOklzc3VlQ29tbWVudDM3MzU4MDYw shoyer 1217238 2014-03-11T23:11:11Z 2014-03-11T23:11:11Z MEMBER

Not really. A filter method would be a useful addition for xray, but Dataset.replace is replacing entire variables, not values in variable.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Modified Dataset.replace to replace a dictionary of variables 29220463

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