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/2710#issuecomment-485541551,https://api.github.com/repos/pydata/xarray/issues/2710,485541551,MDEyOklzc3VlQ29tbWVudDQ4NTU0MTU1MQ==,2448579,2019-04-22T20:29:47Z,2019-04-22T20:29:57Z,MEMBER,"Another solution could be adding support for `da.sel(dim1='a', squeeze=False)` to avoid losing the `dim1` dimension/coordinate in the first place","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,403326458 https://github.com/pydata/xarray/issues/2710#issuecomment-458718342,https://api.github.com/repos/pydata/xarray/issues/2710,458718342,MDEyOklzc3VlQ29tbWVudDQ1ODcxODM0Mg==,2448579,2019-01-29T21:42:08Z,2019-01-29T21:42:08Z,MEMBER,"Well then I think they should be different. Currently, `da.expand_dims('a')` gives ``` array([[[1., 1., 1.], [1., 1., 1.], [1., 1., 1.], [1., 1., 1.], [1., 1., 1.]]]) Coordinates: * b (b) int64 0 1 2 3 4 * c (c) int64 0 1 2 Dimensions without coordinates: a ``` `da.expand_dims(a=3)` should give ``` ... Coordinates: * b (b) int64 0 1 2 3 4 * c (c) int64 0 1 2 Dimensions without coordinates: a ``` `da.expand_dims(a=[9, 10, 11])` should give ``` ... Coordinates: * a (a) int64 9 10 11 * b (b) int64 0 1 2 3 4 * c (c) int64 0 1 2 ``` i.e. in this last case, the user has specified co-ordinate labels and so the returned DataArray has a new co-ordinate a.","{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,403326458 https://github.com/pydata/xarray/issues/2710#issuecomment-458629817,https://api.github.com/repos/pydata/xarray/issues/2710,458629817,MDEyOklzc3VlQ29tbWVudDQ1ODYyOTgxNw==,2448579,2019-01-29T17:25:26Z,2019-01-29T17:25:26Z,MEMBER,"`da.expand_dims(a=3)` should not be equivalent to `da.expand_dims(a=[0, 1, 2])` because the latter will also create a co-ordinate `a`. Am I understanding this right?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,403326458