home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 677773328 and user = 2448579 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

  • dcherian · 2 ✖

issue 1

  • Combining tiled data sets in xarray · 2 ✖

author_association 1

  • MEMBER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
673147952 https://github.com/pydata/xarray/issues/4338#issuecomment-673147952 https://api.github.com/repos/pydata/xarray/issues/4338 MDEyOklzc3VlQ29tbWVudDY3MzE0Nzk1Mg== dcherian 2448579 2020-08-12T22:50:33Z 2020-08-12T22:50:33Z MEMBER

no worries. I'll close this as a duplicate.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Combining tiled data sets in xarray 677773328
672959944 https://github.com/pydata/xarray/issues/4338#issuecomment-672959944 https://api.github.com/repos/pydata/xarray/issues/4338 MDEyOklzc3VlQ29tbWVudDY3Mjk1OTk0NA== dcherian 2448579 2020-08-12T15:55:24Z 2020-08-12T15:55:24Z MEMBER

Thanks for the well written issue @nicholaskgeorge

This is a duplicate of https://github.com/pydata/xarray/issues/3248 . The solution here is to make all tiles have the same name, use .to_dataset() and then pass that to combine_by_coords

In [9]: square1 = xr.DataArray(name="box", data=np.random.randint(5, size=(3, 2)), coords=[("x", [0,1,2]),('y',[0,1])]) ...: square2 = xr.DataArray(name="box", data=np.random.randint(5, size=(3, 2)), coords=[("x", [2,3,4]),('y',[0,1])]) ...: square3 = xr.DataArray(name="box", data=np.random.randint(5, size=(3, 2)), coords=[("x", [0,1,2]),('y',[2,3])]) ...: square4 = xr.DataArray(name="box", data=np.random.randint(5, size=(3, 2)), coords=[("x", [2,3,4]),('y',[2,3])]) ...: ...: combineddata = xr.combine_by_coords(sq.to_dataset() for sq in [square1,square2,square3,square4])

You can use combineddata.to_array() to convert back to a DataArray.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Combining tiled data sets in xarray 677773328

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