id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 916318941,MDU6SXNzdWU5MTYzMTg5NDE=,5454,Add coarsen.construct,2448579,closed,0,,,2,2021-06-09T15:08:35Z,2021-06-24T16:55:25Z,2021-06-24T16:55:25Z,MEMBER,,,,"Like `Rolling.construct` this would create a new reshaped array with extra dimensions that would usually be reduced over. It would be a light wrapper over `Variable._coarsen_reshape` It make https://github.com/pydata/xarray/discussions/5119, and #2419 really easy without having to go through a MultiIndex+unstack operation which is somewhat arcane. ``` python ds.coarsen(time=12).construct(dim=""year"").rename({""time"": ""month""}) ``` ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/5454/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue