html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/pull/5580#issuecomment-903185411,https://api.github.com/repos/pydata/xarray/issues/5580,903185411,IC_kwDOAMm_X8411YQD,5635139,2021-08-21T22:51:16Z,2021-08-21T22:51:16Z,MEMBER,@st-bender thank you very much! Great to have you as a contributor,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,937336962
https://github.com/pydata/xarray/pull/5580#issuecomment-874329258,https://api.github.com/repos/pydata/xarray/issues/5580,874329258,MDEyOklzc3VlQ29tbWVudDg3NDMyOTI1OA==,41898282,2021-07-05T21:08:14Z,2021-08-10T19:56:28Z,CONTRIBUTOR,"## Unit Test Results
4 files 4 suites 35m 31s :stopwatch:
16 210 tests 14 475 :heavy_check_mark: 1 735 :zzz: 0 :x:
60 304 runs 54 880 :heavy_check_mark: 5 424 :zzz: 0 :x:
Results for commit 4239b90a.
:recycle: This comment has been updated with latest results.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,937336962
https://github.com/pydata/xarray/pull/5580#issuecomment-881056480,https://api.github.com/repos/pydata/xarray/issues/5580,881056480,MDEyOklzc3VlQ29tbWVudDg4MTA1NjQ4MA==,5635139,2021-07-15T22:43:03Z,2021-07-15T22:43:03Z,MEMBER,"> As for the tests, I found the tests that @max-sixty put in and extended them (see second and third commits in this PR). However, now there is one dataset setup and then 4(!) asserts, which seems to be too much to follow nicely. Imagine all of them break, you fix the first, only to find out that the second breaks as well. so you fix that, only to find out that the third breaks too, and so on.
I very much empathize! It was basically this frustration that drove me to writing that `pytest-accept` plugin. If you'd like to do these as doctests, that is fine too — whatever you think is best.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,937336962
https://github.com/pydata/xarray/pull/5580#issuecomment-877021079,https://api.github.com/repos/pydata/xarray/issues/5580,877021079,MDEyOklzc3VlQ29tbWVudDg3NzAyMTA3OQ==,28786187,2021-07-09T08:41:15Z,2021-07-09T08:55:14Z,CONTRIBUTOR,"@keewis Thanks for the pointers, I'd say that nothing public facing should change in 0.18 now.
OT (edit): By the way, these incompatibilities happen when one side decides to change the API without considering that some users may actually use that interface (and looking at the pandas' ""deprecation"" list, I fear that this will only get worse). Nice from the `xarray` people to have a section about keeping backwards compatibility as much as possible in their contribution guidelines.
As for the tests, I found the tests that @max-sixty put in and extended them (see second and third commits in this PR). However, now there is one dataset setup and then 4(!) asserts, which seems to be too much to follow nicely. Imagine all of them break, you fix the first, only to find out that the second breaks as well. so you fix that, only to find out that the third breaks too, and so on.
@Illviljan It is a good idea, however, I'd prefer if those changes were introduced as an *option* first, before changing the default behaviour.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,937336962
https://github.com/pydata/xarray/pull/5580#issuecomment-876724664,https://api.github.com/repos/pydata/xarray/issues/5580,876724664,MDEyOklzc3VlQ29tbWVudDg3NjcyNDY2NA==,14371165,2021-07-08T20:27:29Z,2021-07-08T20:27:29Z,MEMBER,I think this can wait until the next release. It would be nice if this and #5546 got released at the same time.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,937336962
https://github.com/pydata/xarray/pull/5580#issuecomment-875091663,https://api.github.com/repos/pydata/xarray/issues/5580,875091663,MDEyOklzc3VlQ29tbWVudDg3NTA5MTY2Mw==,14808389,2021-07-06T21:24:02Z,2021-07-06T21:24:02Z,MEMBER,"I also think we should be able to merge once the points @max-sixty mentioned have been addressed, but if you feel uncomfortable with merging now we can wait until after the next release (which should be soon, given that we have a compatibility issue with `pandas=1.3`).
The changelog is in [`/doc/whats-new.rst`](https://github.com/pydata/xarray/blob/main/doc/whats-new.rst), and the `repr`s are documented in [`/doc/user-guide/data-structures.rst`](https://github.com/pydata/xarray/blob/main/doc/user-guide/data-structures.rst) (not sure if that has to be modified), but there might be other files / docstrings.
For tests we usually use `pytest.mark.parametrize`. This would require a new test function (`test_display_max_rows`?), where you could check the number of lines of the `repr`.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,937336962
https://github.com/pydata/xarray/pull/5580#issuecomment-875075222,https://api.github.com/repos/pydata/xarray/issues/5580,875075222,MDEyOklzc3VlQ29tbWVudDg3NTA3NTIyMg==,28786187,2021-07-06T20:55:49Z,2021-07-06T21:02:46Z,CONTRIBUTOR,"Hi @max-sixty,
Sure, but it will take a bit. Could you point me to right places for the docs? Just the filenames would do.
I would be in favour of waiting a little with this change to get a few more opinions.
This change will ignore `display_max_rows` for everything except `dataset.__repr__`,
which may not be what some people might expect or hope.
Any ideas how to get more people to weigh in?
Edit: I would also like to separate the tests, to make it easier to follow if something breaks, but the setup for the test dataset would be the same. Any preferences or best practices for the code layout in such a case without duplicating too much of the code? However, that can probably wait for another PR.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,937336962
https://github.com/pydata/xarray/pull/5580#issuecomment-874449093,https://api.github.com/repos/pydata/xarray/issues/5580,874449093,MDEyOklzc3VlQ29tbWVudDg3NDQ0OTA5Mw==,5635139,2021-07-06T04:25:06Z,2021-07-06T04:25:06Z,MEMBER,"This looks good! Thanks @st-bender .
Could we add a short note on the change to the whatsnew? To the extent the existing docs on the repr are now out of date, could we update those too?
Then we're good to merge! ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,937336962