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 272325640,MDExOlB1bGxSZXF1ZXN0MTUxNDc3Nzcx,1702,fix empty dataset from_dict,1530840,closed,0,,,2,2017-11-08T19:47:37Z,2018-05-15T04:51:11Z,2018-05-15T04:51:03Z,NONE,,0,pydata/xarray/pulls/1702," - [ ] Closes #xxxx - [x] Tests added / passed - [x] Passes ``git diff upstream/master **/*py | flake8 --diff`` - [ ] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API Not sure if you want an issue or a whats-new entry for a small fix like this. Also not sure how xarray tends to handle `np.array([])`. One option that I did not take was to provide ndims to `as_compatible_data` in some fashion and make sure the result comes back as having shape `(0,)*ndim` instead of just `(0,)`.","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/1702/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull