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/929#issuecomment-457895845,https://api.github.com/repos/pydata/xarray/issues/929,457895845,MDEyOklzc3VlQ29tbWVudDQ1Nzg5NTg0NQ==,26384082,2019-01-27T07:32:11Z,2019-01-27T07:32:11Z,NONE,"In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity
If this issue remains relevant, please comment here; otherwise it will be marked as closed automatically
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,168754274
https://github.com/pydata/xarray/issues/929#issuecomment-236736739,https://api.github.com/repos/pydata/xarray/issues/929,236736739,MDEyOklzc3VlQ29tbWVudDIzNjczNjczOQ==,1217238,2016-08-01T23:15:28Z,2016-08-01T23:15:28Z,MEMBER,"This difference is certainly intentional. You're right that we currently don't explicitly state how we handle lists or numpy arrays in the docs -- that should be fixed.
At one point, we did have heuristics that did this sort of fallback logic (allowing lists, and checking the length of the tuple/list). But we eventually removed these checks, because this sort of value dependent behavior makes code difficult to predict. At least now it always behaves consistently when given a list or a tuple.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,168754274
https://github.com/pydata/xarray/issues/929#issuecomment-236727385,https://api.github.com/repos/pydata/xarray/issues/929,236727385,MDEyOklzc3VlQ29tbWVudDIzNjcyNzM4NQ==,12307589,2016-08-01T22:28:48Z,2016-08-01T22:29:07Z,CONTRIBUTOR,"A simple way is to try creating a Data Array by assuming it's metadata, and if it fails then assume it's data. However, this will probably ""work"" too often on lists it shouldn't. A better heuristic is that if the list is of length 2 or 3, and the first element is an iterable of strings, and the second element contains data (is a list or numpy array), and the optional third element is a map/dictionary, then the list is probably metadata. You might also require that the second element isn't the same length as the first element, in the case that they're both lists (in case someone wants a 2x2 DataArray of string labels that they're constructing from a list of lists).
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,168754274
https://github.com/pydata/xarray/issues/929#issuecomment-236726151,https://api.github.com/repos/pydata/xarray/issues/929,236726151,MDEyOklzc3VlQ29tbWVudDIzNjcyNjE1MQ==,10050469,2016-08-01T22:23:03Z,2016-08-01T22:23:03Z,MEMBER,"> it may be better to do some sanity checking when a list is passed to figure out whether the list is data or as above
I guess that this is the difficult part. How to know if the list is data or ""as above""?
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,168754274