issues: 392362056
This data as json
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
392362056 | MDU6SXNzdWUzOTIzNjIwNTY= | 2619 | Selection of MultiIndex makes following `unstack` wrong | 6815844 | closed | 0 | 2 | 2018-12-18T22:26:31Z | 2018-12-24T15:37:27Z | 2018-12-24T15:37:27Z | MEMBER | Code Sample, a copy-pastable example if possible```python import numpy as np import xarray as xr ds = xr.DataArray(np.arange(40).reshape(8, 5), dims=['x', 'y'], Out[1]: <xarray.DataArray (x: 8, y: 5)> array([[ 0., 1., 2., 3., 4.], [ 5., 6., 7., 8., 9.], [10., 11., 12., 13., 14.], [15., 16., 17., 18., 19.], [nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan]]) Coordinates: * x (x) int64 0 1 2 3 4 5 6 7 * y (y) int64 0 1 2 3 4 ``` Problem descriptionAfter unstack, there are still values that are not selected by the previous Expected Output
Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2619/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |