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/1651#issuecomment-338860711,https://api.github.com/repos/pydata/xarray/issues/1651,338860711,MDEyOklzc3VlQ29tbWVudDMzODg2MDcxMQ==,1217238,2017-10-24T03:18:37Z,2017-10-24T03:18:37Z,MEMBER,"Other numpy functions, e.g., `flip` check for some attributes and then assume duck type compatibility if found. For example, `flip` is turned into an indexing call.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,267826297
https://github.com/pydata/xarray/issues/1651#issuecomment-338860305,https://api.github.com/repos/pydata/xarray/issues/1651,338860305,MDEyOklzc3VlQ29tbWVudDMzODg2MDMwNQ==,1217238,2017-10-24T03:16:00Z,2017-10-24T03:16:00Z,MEMBER,"> Right, but numpy functions return the original type?
Not quite -- many numpy functions check for a method of the same name on their argument and call it instead of the numpy routine. If you look at the source of `np.sum`, it first checks for a `sum` method on its argument and calls that method instead if found. Otherwise, it coerces the argument to a numpy array and calls the numpy method.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,267826297
https://github.com/pydata/xarray/issues/1651#issuecomment-338822929,https://api.github.com/repos/pydata/xarray/issues/1651,338822929,MDEyOklzc3VlQ29tbWVudDMzODgyMjkyOQ==,1217238,2017-10-23T23:11:03Z,2017-10-23T23:11:03Z,MEMBER,"> One small issue, I wonder if anyone has come across this: bottleneck returns the numpy array rather than the DataArray - is that because it's not operating with the correct numpy interface?
Can you explain? I don't think bottleneck is xarray aware, so I'm not surprised by this. NumPy doesn't have a generic interface for external functions (only [ufuncs](https://docs.scipy.org/doc/numpy-1.13.0/reference/ufuncs.html)).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,267826297