issue_comments: 1285855378
This data as json
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/issues/7189#issuecomment-1285855378 | https://api.github.com/repos/pydata/xarray/issues/7189 | 1285855378 | IC_kwDOAMm_X85MpJiS | 35968931 | 2022-10-20T16:40:56Z | 2022-10-20T16:40:56Z | MEMBER | Thanks so much for the MVCE, sleuthing, and clear issue @mjwillson !
That sounds likely to me.
Definitely not intentional. I'm not sure this case even occurred to me when I originally wrote
I hope not too because it's sort of an undefined operation. The purpose of We do also state clearly in the docstring "
A PR would be most welcome :smile: We should also consider the behaviour in the case of repeated elements in the coordinates, e.g. this currently happens:
Alternatively we might consider first changing the code to raise a warning if the resulting coordinate is monotonic but non-unique, so that when we change the actual behaviour later people are ready.
That sounds sensible. As an aside, I wonder if we could create a hypothesis test for |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1415592761 |