issues: 417412201
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 417412201 | MDU6SXNzdWU0MTc0MTIyMDE= | 2802 | stack renames single dimensions instead of creating a MultiIndex | 601177 | closed | 0 | 3 | 2019-03-05T17:24:54Z | 2021-01-19T16:32:11Z | 2021-01-19T16:32:11Z | NONE | Code Sample```python
File "<ipython-input-127-ec66ebede9c5>", line 1, in <module> db.unstack('z') File "/usr/lib64/python3.6/site-packages/xarray/core/dataarray.py", line 1248, in unstack ds = self._to_temp_dataset().unstack(dim) File "/usr/lib64/python3.6/site-packages/xarray/core/dataset.py", line 2315, in unstack raise ValueError('cannot unstack a dimension that does not have ' ValueError: cannot unstack a dimension that does not have a MultiIndex ``` Problem description
Expected Output
Output of
|
{
"url": "https://api.github.com/repos/pydata/xarray/issues/2802/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | 13221727 | issue |