issue_comments: 366242783
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/1487#issuecomment-366242783 | https://api.github.com/repos/pydata/xarray/issues/1487 | 366242783 | MDEyOklzc3VlQ29tbWVudDM2NjI0Mjc4Mw== | 8441217 | 2018-02-16T14:01:20Z | 2018-02-16T14:01:20Z | CONTRIBUTOR | Yes, @shoyer is right : Looking at the numpy code, this array.squeeze(axis) -> array.squeeze() is happening.
I added the ``` PYTHONPATH=$HOME/sandbox/dev/xarray python -c 'import numpy as np ; import xarray as xr ; test = np.random.random((1,10,1)) ; print(np.squeeze(test, axis=0).shape); print(np.squeeze(xr.DataArray(test), axis=0).shape, np.version, xr.version) ' (10, 1) (10, 1) 1.13.1 0.10.0+dev64.gd554ece ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
245468219 |