issues: 178887041
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 178887041 | MDU6SXNzdWUxNzg4ODcwNDE= | 1016 | DataArray coords: tuple vs. list | 5497186 | closed | 0 | 2 | 2016-09-23T14:08:15Z | 2018-10-31T16:56:47Z | 2018-10-31T16:56:47Z | NONE | is there a reason the ``` this worksxarray.DataArray(np.random.random((3, 3, 3)), dims=('one', 'two', 'three'), coords={ 'one': ['four', 'five', 'six'], } ) this throws the following errorValueError: dimensions ('four',) must have the same length as the number of data dimensions, ndim=0xarray.DataArray(np.random.random((3, 3, 3)), dims=('one', 'two', 'three'), coords={ 'one': ('four', 'five', 'six'), } ) ``` even if there was a clearer error it would help quite a bit. As it stands you are thinking, 'what?! four isn't a dimension!' using 0.8.2 |
{
"url": "https://api.github.com/repos/pydata/xarray/issues/1016/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | 13221727 | issue |