issue_comments: 375548064
This data as json
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/1988#issuecomment-375548064 | https://api.github.com/repos/pydata/xarray/issues/1988 | 375548064 | MDEyOklzc3VlQ29tbWVudDM3NTU0ODA2NA== | 2443309 | 2018-03-23T05:18:59Z | 2018-03-23T05:18:59Z | MEMBER | This does seem inconsistent to me. Not that the behavior of concat already works with a single object: ```Python In [1]: import xarray as xr In [2]: da = xr.DataArray([1, 2], dims='x', name='foo') In [3]: xr.concat([da], dim='y') Out[3]: <xarray.DataArray 'foo' (y: 1, x: 2)> array([[1, 2]]) Dimensions without coordinates: y, x ``` The offending line is here: Based on this, I'm surprised my little example with concat works the way it does. In either event, it would be great if someone could spend some time normalizing the behavior here. |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
305327479 |