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/pull/3054#issuecomment-520210672,https://api.github.com/repos/pydata/xarray/issues/3054,520210672,MDEyOklzc3VlQ29tbWVudDUyMDIxMDY3Mg==,2552981,2019-08-11T08:36:19Z,2019-08-11T08:36:41Z,CONTRIBUTOR,"@yohai : In short, no. It does not make sense to add a built-in function for iteration, if it is unable to augment the low-level functionality. I'd recommend closing this PR!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,462049420 https://github.com/pydata/xarray/pull/3054#issuecomment-519932051,https://api.github.com/repos/pydata/xarray/issues/3054,519932051,MDEyOklzc3VlQ29tbWVudDUxOTkzMjA1MQ==,6164157,2019-08-09T14:04:57Z,2019-08-09T14:04:57Z,CONTRIBUTOR,"@crusaderky @corora Thanks for your comments, glad to see that there's a more efficient way to do it. The question is do you think it's useful enough to justify adding it as a built in function. I end up using my solution quite often","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,462049420 https://github.com/pydata/xarray/pull/3054#issuecomment-508407631,https://api.github.com/repos/pydata/xarray/issues/3054,508407631,MDEyOklzc3VlQ29tbWVudDUwODQwNzYzMQ==,2552981,2019-07-04T09:15:14Z,2019-07-04T09:15:14Z,CONTRIBUTOR,"@yohai It's a lot more efficient to simply iterate over the underlying array, ie. `da.values.flat`, if you can afford to hold everything in memory. If you are instead using streaming computation based on dask, then you would have to do something similar on per-chunk basis. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,462049420