home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

9 rows where issue = 470322983 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 4

  • nbren12 4
  • shoyer 2
  • TalfanBarnie 2
  • keewis 1

author_association 3

  • CONTRIBUTOR 4
  • MEMBER 3
  • NONE 2

issue 1

  • Unable to run example for xarray.DataArray.to_unstacked_dataset · 9 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
782421195 https://github.com/pydata/xarray/issues/3148#issuecomment-782421195 https://api.github.com/repos/pydata/xarray/issues/3148 MDEyOklzc3VlQ29tbWVudDc4MjQyMTE5NQ== keewis 14808389 2021-02-19T22:38:11Z 2021-02-19T22:38:11Z MEMBER

it looks like this should have been closed by #4408

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unable to run example for xarray.DataArray.to_unstacked_dataset 470322983
513901362 https://github.com/pydata/xarray/issues/3148#issuecomment-513901362 https://api.github.com/repos/pydata/xarray/issues/3148 MDEyOklzc3VlQ29tbWVudDUxMzkwMTM2Mg== nbren12 1386642 2019-07-22T18:31:21Z 2019-07-22T18:31:21Z CONTRIBUTOR

Okay. it looks like the docstring for to_unstacked_dataset is in fact incorrect:

https://github.com/pydata/xarray/blob/77a31e56d221245ff7dc10041bf0ca34cab91897/xarray/core/dataarray.py#L1654

I will can submit a PR fixing that soon.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unable to run example for xarray.DataArray.to_unstacked_dataset 470322983
513735110 https://github.com/pydata/xarray/issues/3148#issuecomment-513735110 https://api.github.com/repos/pydata/xarray/issues/3148 MDEyOklzc3VlQ29tbWVudDUxMzczNTExMA== TalfanBarnie 19397429 2019-07-22T10:26:37Z 2019-07-22T10:26:37Z NONE

It's here:

http://xarray.pydata.org/en/stable/generated/xarray.DataArray.to_unstacked_dataset.html#xarray.DataArray.to_unstacked_dataset

Under examples the line that reads:

stacked = data.to_stacked_array("z", ['y'])

should read

data.to_stacked_array("z", ['x'])

Thanks for looking into it!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unable to run example for xarray.DataArray.to_unstacked_dataset 470322983
513635290 https://github.com/pydata/xarray/issues/3148#issuecomment-513635290 https://api.github.com/repos/pydata/xarray/issues/3148 MDEyOklzc3VlQ29tbWVudDUxMzYzNTI5MA== nbren12 1386642 2019-07-22T04:25:49Z 2019-07-22T04:25:49Z CONTRIBUTOR

Could you link the specific page that is wrong?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unable to run example for xarray.DataArray.to_unstacked_dataset 470322983
513566178 https://github.com/pydata/xarray/issues/3148#issuecomment-513566178 https://api.github.com/repos/pydata/xarray/issues/3148 MDEyOklzc3VlQ29tbWVudDUxMzU2NjE3OA== TalfanBarnie 19397429 2019-07-21T15:58:19Z 2019-07-21T15:58:19Z NONE

The correction works, many thanks. The incorrect version is still on http://xarray.pydata.org/en/stable/, maybe that needs to be updated somehow?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unable to run example for xarray.DataArray.to_unstacked_dataset 470322983
513522465 https://github.com/pydata/xarray/issues/3148#issuecomment-513522465 https://api.github.com/repos/pydata/xarray/issues/3148 MDEyOklzc3VlQ29tbWVudDUxMzUyMjQ2NQ== nbren12 1386642 2019-07-21T04:56:26Z 2019-07-21T04:56:26Z CONTRIBUTOR

Actually, the docs seem correct: https://github.com/pydata/xarray/blob/8da3f67ea583e0588291162067229b2f3ce2993e/xarray/core/dataset.py#L2895

Am I missing something here?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unable to run example for xarray.DataArray.to_unstacked_dataset 470322983
513521687 https://github.com/pydata/xarray/issues/3148#issuecomment-513521687 https://api.github.com/repos/pydata/xarray/issues/3148 MDEyOklzc3VlQ29tbWVudDUxMzUyMTY4Nw== nbren12 1386642 2019-07-21T04:46:05Z 2019-07-21T04:46:05Z CONTRIBUTOR

Huh, it looks like that change in the API that happened in the last stages of the PR didn't make it into the example docs. I will try to submit a PR fixing that sometime soon.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unable to run example for xarray.DataArray.to_unstacked_dataset 470322983
513509523 https://github.com/pydata/xarray/issues/3148#issuecomment-513509523 https://api.github.com/repos/pydata/xarray/issues/3148 MDEyOklzc3VlQ29tbWVudDUxMzUwOTUyMw== shoyer 1217238 2019-07-21T00:42:42Z 2019-07-21T00:42:42Z MEMBER

cc @nbren12

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unable to run example for xarray.DataArray.to_unstacked_dataset 470322983
513509499 https://github.com/pydata/xarray/issues/3148#issuecomment-513509499 https://api.github.com/repos/pydata/xarray/issues/3148 MDEyOklzc3VlQ29tbWVudDUxMzUwOTQ5OQ== shoyer 1217238 2019-07-21T00:42:09Z 2019-07-21T00:42:09Z MEMBER

There's a typo in the docstring example. It should be data.to_stacked_array("z", ['x']).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unable to run example for xarray.DataArray.to_unstacked_dataset 470322983

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