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/924#issuecomment-371672217,https://api.github.com/repos/pydata/xarray/issues/924,371672217,MDEyOklzc3VlQ29tbWVudDM3MTY3MjIxNw==,1217238,2018-03-09T00:27:32Z,2018-03-09T00:27:32Z,MEMBER,"@pwolfram Personally, I am waiting to implement this until after https://github.com/pydata/xarray/issues/1603. I'm pretty sure that the alternative model for indexes proposed there will make this far easier to implement.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,168272291
https://github.com/pydata/xarray/pull/924#issuecomment-286517390,https://api.github.com/repos/pydata/xarray/issues/924,286517390,MDEyOklzc3VlQ29tbWVudDI4NjUxNzM5MA==,1217238,2017-03-14T18:31:12Z,2017-03-14T18:31:12Z,MEMBER,I don't have any progress to report since my last comment.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,168272291
https://github.com/pydata/xarray/pull/924#issuecomment-280441902,https://api.github.com/repos/pydata/xarray/issues/924,280441902,MDEyOklzc3VlQ29tbWVudDI4MDQ0MTkwMg==,1217238,2017-02-16T20:00:44Z,2017-02-16T20:00:44Z,MEMBER,"@RafalSkolasinski Sure, here is the current list:
1. The implementation should probably switch to use `set_index()` (after stacking) to combine groupby arguments into a single MultiIndex, instead of the current version which constructs the MultiIndex explicitly in `GroupBy.__init__`, duplicating a lot of the `set_index` code.
2. We need to consider how to handle multiple group-by arguments along orthogonal dimensions. For example, consider the 4x4 array from the gist at the top of this PR where grouping is done over 2x2 blocks. With the current PR, the array is flattened, so iteration is done over flat arrays of length 4, but we probably want to actually iterate over 2x2 arrays that match the shape of the original data. This could be done either by stacking/unstacking at each iteration step (slow, but would work) or by making groupby truly do indexing and concatenation over multiple dimensions at once (certainly faster and more elegant, but significantly more work to implement).
3. The change also needs to be rebased to account for changes on master, but by the time you account for the above changes there may not be much of the current version remaining.
4. We also need comprehensive test coverage for the desired behavior.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,168272291
https://github.com/pydata/xarray/pull/924#issuecomment-279100389,https://api.github.com/repos/pydata/xarray/issues/924,279100389,MDEyOklzc3VlQ29tbWVudDI3OTEwMDM4OQ==,1217238,2017-02-11T00:08:18Z,2017-02-11T00:08:18Z,MEMBER,"@RafalSkolasinski This pull request was mostly working, but still needs some significant work to clean it up and update it to the current version of the codebase.
I don't think anyone is working on it currently (I'm not) but I'm sure someone will get to it eventually.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,168272291
https://github.com/pydata/xarray/pull/924#issuecomment-236402472,https://api.github.com/repos/pydata/xarray/issues/924,236402472,MDEyOklzc3VlQ29tbWVudDIzNjQwMjQ3Mg==,1217238,2016-07-31T01:49:15Z,2016-07-31T01:49:15Z,MEMBER,"@rabernat I updated the top post with examples. So yes, for your example, the coordinates of the output would have every unique combination of `x` and `y`. More generally, something like `ds.groupby(['x', 'y']).mean()` will be equivalent to `ds.mean('z')` for a dataset with dimensions (x, y, z). I think this is the only sane way to define these grouped operations.
Once we figure out squeezing out grouped/stacked dimensions (not quite working yet), this will let us write things like `ds.groupby(['x', 'y']).apply(calculate_trend)` or better yet with `group_over`, `ds.group_over('time').apply(calculate_trend)`.
","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,168272291