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/1074#issuecomment-258425477,https://api.github.com/repos/pydata/xarray/issues/1074,258425477,MDEyOklzc3VlQ29tbWVudDI1ODQyNTQ3Nw==,1310437,2016-11-04T13:04:37Z,2016-11-04T13:04:37Z,CONTRIBUTOR,"As for the consistency concern, I wouldn't have expected that to be a big issue. I'd argue that most functions mapping `np.ndarray -> np.ndarray` will not mind receiving a `DataArray` instead. On the other hand, functions mapping `DataArray -> np.ndarray` would seldom prefer to receive the raw `np.ndarray`. So I see no use to the `raw` parameter (but then again, I do not know pandas and their use-case), such that my hypotetical `DataArray.apply` and the existing `DataArray.pipe` are essentially the same.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,186868181
https://github.com/pydata/xarray/issues/1074#issuecomment-258423515,https://api.github.com/repos/pydata/xarray/issues/1074,258423515,MDEyOklzc3VlQ29tbWVudDI1ODQyMzUxNQ==,1310437,2016-11-04T12:55:15Z,2016-11-04T12:55:15Z,CONTRIBUTOR,"Aha! For my use-case, `DataArray.pipe` is perfectly fine, I just didn't know about it. I have to admit that I know nothing about pandas. Before I learned about xarray, pandas was not interesting to me at all. My datasets are often high-dimensional which does not work well with pandas' orientation towards (one-dimensional) collections of observations. In that sense, I could rather relabel this issue (or create a new one) as a documentation problem. The API reference does not indicate the existence of `DataArray.pipe` at all (only `Dataset.pipe`, even though that one mentions it works on `DataArray`s too). Also, there could possibly be a see-also link to `pipe` from `apply`. Shall I have a go at a PR?
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,186868181