home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 677773328 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • dcherian 2
  • rsignell-usgs 1
  • nicholaskgeorge 1

author_association 2

  • MEMBER 2
  • NONE 2

issue 1

  • Combining tiled data sets in xarray · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
673433045 https://github.com/pydata/xarray/issues/4338#issuecomment-673433045 https://api.github.com/repos/pydata/xarray/issues/4338 MDEyOklzc3VlQ29tbWVudDY3MzQzMzA0NQ== rsignell-usgs 1872600 2020-08-13T11:54:10Z 2020-08-13T12:04:11Z NONE

@nicholaskgeorge your minimal test would be monotonic if square2 and square4 had x coordinates [3,4,5] instead of [2,3,4], but it seems combine_by_coords doesn't mind that?

{
    "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
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
673128033 https://github.com/pydata/xarray/issues/4338#issuecomment-673128033 https://api.github.com/repos/pydata/xarray/issues/4338 MDEyOklzc3VlQ29tbWVudDY3MzEyODAzMw== nicholaskgeorge 56926399 2020-08-12T21:49:45Z 2020-08-12T21:49:45Z NONE

Thank you @dcherian ! It works. I'm now getting an error telling me the that the axis are not monotonic when I apply it to my real data but I think its something I have to sort out. Sorry I didn't realize this issue was put up before.

{
    "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 4487.989ms · About: xarray-datasette