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/6202#issuecomment-1023887027,https://api.github.com/repos/pydata/xarray/issues/6202,1023887027,IC_kwDOAMm_X849B0az,13301940,2022-01-28T04:57:09Z,2022-01-28T05:02:08Z,MEMBER,"> Under ""Creating a Data Array"" and next to the subitem ""coords"", it is written, that you can use a dictionary like {'coo1': [1,2,3], 'coo2': ['a', 'b', 'c'], ...}, so you can later skip the ""dims"" Are you referring to [this page](https://xarray.pydata.org/en/stable/user-guide/data-structures.html#creating-a-dataarray)? Per [this documentation page](https://xarray.pydata.org/en/stable/user-guide/data-structures.html#creating-a-dataarray), `dims` are only inferred from `coords` when `coords` is **a list of tuples**. >> dims: a list of dimension names. If omitted and coords is a list of tuples, dimension names are taken from coords. So, I'd say that the `ValueError` you get when using `coords` defined in a dictionary without specifying `dims` isn't really a bug. > But when I tried this, I get the message, that using a dictionary for coords is outdated. What do you think it should return?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1116697033