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 1975221937,PR_kwDOAMm_X85efDP6,8407,Add expand_dims,14371165,closed,0,,,5,2023-11-03T00:01:22Z,2023-12-12T20:54:45Z,2023-12-01T18:52:11Z,MEMBER,,0,pydata/xarray/pulls/8407,"This allows adding a dimension of an array. Which is relevant when for example using `keepdims` in NamedArray.reduce. Normally you can do this with `None` but that's not really allowed in the getitem documentation currently https://data-apis.org/array-api/2022.12/API_specification/generated/array_api.array.__getitem__.html Should follow the standard but with an additional `dim` argument, `dim` should be preferred over the `axis` argument. https://data-apis.org/array-api/draft/API_specification/generated/array_api.expand_dims.html xref #8344, #8406 ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/8407/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull