home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

13 rows where issue = 755626157 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 5

  • raybellwaves 5
  • dcherian 3
  • keewis 3
  • mathause 1
  • pep8speaks 1

author_association 3

  • MEMBER 7
  • CONTRIBUTOR 5
  • NONE 1

issue 1

  • DOC: add examples to concat · 13 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
748538603 https://github.com/pydata/xarray/pull/4645#issuecomment-748538603 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0ODUzODYwMw== mathause 10194086 2020-12-19T23:20:26Z 2020-12-19T23:20:26Z MEMBER

Thanks @raybellwaves!

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
744501356 https://github.com/pydata/xarray/pull/4645#issuecomment-744501356 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0NDUwMTM1Ng== pep8speaks 24736507 2020-12-14T15:05:36Z 2020-12-19T21:37:51Z NONE

Hello @raybellwaves! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2020-12-19 21:37:51 UTC
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
745344959 https://github.com/pydata/xarray/pull/4645#issuecomment-745344959 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0NTM0NDk1OQ== dcherian 2448579 2020-12-15T14:54:57Z 2020-12-15T14:54:57Z MEMBER

I think you replace all int32 by int64?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
745343820 https://github.com/pydata/xarray/pull/4645#issuecomment-745343820 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0NTM0MzgyMA== raybellwaves 17162724 2020-12-15T14:53:09Z 2020-12-15T14:53:09Z CONTRIBUTOR

Not sure if I can do anything for the doctest failing https://dev.azure.com/xarray/xarray/_build/results?buildId=4491&view=logs&j=e1da92ae-4a54-5c20-3ee1-ef7b06ffcd80&t=5640f7da-bb07-517b-ec85-0b3cfe0ccaa3&l=62 - * y (y) int32 10 20 30 + * y (y) int64 10 20 30

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
744712191 https://github.com/pydata/xarray/pull/4645#issuecomment-744712191 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0NDcxMjE5MQ== keewis 14808389 2020-12-14T21:09:49Z 2020-12-14T21:11:51Z MEMBER

sorry about that. I meant that the code examples still show the results using the randomly generated data, and this is the reason why the doctests CI fails.

For example, this: https://github.com/pydata/xarray/blob/4c8642560679c173c2968a2c4186a474bfe97f2d/xarray/core/concat.py#L178-L185 should be: ```python >>> xr.concat([da.isel(y=slice(0, 1)), da.isel(y=slice(1, None))], dim="y") <xarray.DataArray (x: 2, y: 3)> array([[0, 1, 2], [3, 4, 5]]) Coordinates: * x (x) <U1 'a' 'b' * y (y) int64 10 20 30

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
744668938 https://github.com/pydata/xarray/pull/4645#issuecomment-744668938 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0NDY2ODkzOA== keewis 14808389 2020-12-14T19:46:32Z 2020-12-14T21:04:09Z MEMBER

done. Once you update the doctest output and maybe add a entry to whats-new.rst (Documentation) this should be ready for merging.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
744708979 https://github.com/pydata/xarray/pull/4645#issuecomment-744708979 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0NDcwODk3OQ== raybellwaves 17162724 2020-12-14T21:03:23Z 2020-12-14T21:03:23Z CONTRIBUTOR

I can add to the Whats-new. Not sure how to "update of the doctest output"

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
744662895 https://github.com/pydata/xarray/pull/4645#issuecomment-744662895 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0NDY2Mjg5NQ== raybellwaves 17162724 2020-12-14T19:34:48Z 2020-12-14T19:34:48Z CONTRIBUTOR

More than welcome to push to mine.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
744661142 https://github.com/pydata/xarray/pull/4645#issuecomment-744661142 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0NDY2MTE0Mg== keewis 14808389 2020-12-14T19:31:32Z 2020-12-14T19:32:12Z MEMBER

Hopefully it's fine as is.

no worries, as I said that's optional, we currently don't enforce the tool I had in mind for PRs. I can fix that in a different PR (or this one, if you don't mind me pushing to your branch).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
744504122 https://github.com/pydata/xarray/pull/4645#issuecomment-744504122 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0NDUwNDEyMg== raybellwaves 17162724 2020-12-14T15:09:41Z 2020-12-14T15:09:41Z CONTRIBUTOR

I would also run pre-commit run --files doc/combining.rst xarray/core/concat.py once, but that's optional.

I'm doing this PR in my windows machine unfortunately, and pre-commit is a pain on windows. Hopefully it's fine as is.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
742916022 https://github.com/pydata/xarray/pull/4645#issuecomment-742916022 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDc0MjkxNjAyMg== dcherian 2448579 2020-12-11T02:02:44Z 2020-12-11T02:02:44Z MEMBER

Oops one more

```


Exception in /home/docs/checkouts/readthedocs.org/user_builds/xray/checkouts/4645/doc/combining.rst at block ending on line 191 Specify :okexcept: as an option in the ipython:: block to suppress this message


NameError Traceback (most recent call last) <ipython-input-25-4cb6d79e0bd5> in <module> ----> 1 arr.equals(arr.copy())

NameError: name 'arr' is not defined <<<------------------------------------------------------------------------- ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
739970397 https://github.com/pydata/xarray/pull/4645#issuecomment-739970397 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDczOTk3MDM5Nw== dcherian 2448579 2020-12-07T14:57:46Z 2020-12-07T14:57:46Z MEMBER

Thanks @raybellwaves. Can you address this error?

```


Exception in /home/docs/checkouts/readthedocs.org/user_builds/xray/checkouts/4645/doc/combining.rst at block ending on line 121 Specify :okexcept: as an option in the ipython:: block to suppress this message


NameError Traceback (most recent call last) <ipython-input-16-6d6353d21b81> in <module> ----> 1 xr.Dataset({"a": arr[:-1], "b": arr[1:]})

NameError: name 'arr' is not defined <<<------------------------------------------------------------------------- ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157
737616528 https://github.com/pydata/xarray/pull/4645#issuecomment-737616528 https://api.github.com/repos/pydata/xarray/issues/4645 MDEyOklzc3VlQ29tbWVudDczNzYxNjUyOA== raybellwaves 17162724 2020-12-03T02:16:43Z 2020-12-03T02:16:43Z CONTRIBUTOR

Thanks for the feedback.

It was a copy-paste from http://xarray.pydata.org/en/stable/combining.html#concatenate

I'll implement your suggestions in https://github.com/pydata/xarray/blob/master/doc/combining.rst as well.

i.e. use arange for the creation and isel for the index.

{
    "total_count": 2,
    "+1": 1,
    "-1": 0,
    "laugh": 1,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add examples to concat 755626157

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