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/2419#issuecomment-499721397,https://api.github.com/repos/pydata/xarray/issues/2419,499721397,MDEyOklzc3VlQ29tbWVudDQ5OTcyMTM5Nw==,1197350,2019-06-07T00:52:10Z,2019-06-07T00:52:10Z,MEMBER,"> This was to facilitate looking at the max and min as a function of ""month"", take the difference, and then average over ""year"" What about ```python gb = ds.groupby('time.year') gb.max(dim='time') - gb.min(dim='time') ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,361237908