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/7051#issuecomment-1265200159,https://api.github.com/repos/pydata/xarray/issues/7051,1265200159,IC_kwDOAMm_X85LaWwf,43316012,2022-10-03T09:51:34Z,2022-10-03T09:51:34Z,COLLABORATOR,"I think it is best to implement two functions, one for sets of dims and one for sequences of dims. This will be easier to type/read/use than trying to put both kinds into one function.
See also #7094
Maybe `parse_dims` and `parse_ordered_dims`?
","{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1377097243
https://github.com/pydata/xarray/pull/7051#issuecomment-1252833112,https://api.github.com/repos/pydata/xarray/issues/7051,1252833112,IC_kwDOAMm_X85KrLdY,43316012,2022-09-20T19:50:52Z,2022-09-20T19:50:52Z,COLLABORATOR,"> Yes! `...` is the better synonym — `None` is somewhat an artifact of history. So +1 for `replace_none`, which maybe we can gradually turn to `False` by default over time.
Nothing wrong with None, it is just pythons default.
The intention of `replace_none=False` was to leave None as None, which is important for some low level functions as they might be optimized (like numpy sum, which sums over all axes for None).
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1377097243
https://github.com/pydata/xarray/pull/7051#issuecomment-1252586358,https://api.github.com/repos/pydata/xarray/issues/7051,1252586358,IC_kwDOAMm_X85KqPN2,43316012,2022-09-20T16:14:17Z,2022-09-20T16:14:17Z,COLLABORATOR,"> I might have thought both of them could be encapsulated in a single func... Maybe that's `infix_dims`, or fine to rename!
I always thought that these two methods are incompatible.
But I guess ... Is synonym for None (= all dims) and if ... Appears in an iterable, it just means replace it with all leftover dims.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1377097243