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/1288#issuecomment-287749414,https://api.github.com/repos/pydata/xarray/issues/1288,287749414,MDEyOklzc3VlQ29tbWVudDI4Nzc0OTQxNA==,10050469,2017-03-20T12:48:23Z,2017-03-20T12:48:23Z,MEMBER,"An argument against a single function is that the shape of the returned array is different in each case. Also, [cumtrapz](https://docs.scipy.org/doc/scipy-0.10.1/reference/generated/scipy.integrate.trapz.html) has an ``inital`` keyword which changes the shape of the returned array. It is currently set to ``None`` per default, but should be set to 0 per default IMO. I this is not a problem, I also like to have one single function for integration (simpler from a user perspective). ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,210704949 https://github.com/pydata/xarray/issues/1288#issuecomment-283128841,https://api.github.com/repos/pydata/xarray/issues/1288,283128841,MDEyOklzc3VlQ29tbWVudDI4MzEyODg0MQ==,10050469,2017-02-28T18:53:41Z,2017-02-28T18:53:41Z,MEMBER,"> > I weakly prefer not to use the name integrate and instead keep the standard scipy names because they make clear the numerical algorithm that is being applied. > Yes, this is a totally valid concern, if a user might expect integrate to be calculating something different. > One point in favor of calling this integrate is that the name is highly searchable, which provides an excellent place to include documentation about how to integrate in general (including links to other packages, like pangeo's vector calculus package). But we know that nobody reads documentation ;). ``integrate`` would allow to do things like: ```da.integrate(how='rectangle')``` ```da.integrate(how='trapezoidal')``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,210704949 https://github.com/pydata/xarray/issues/1288#issuecomment-282970580,https://api.github.com/repos/pydata/xarray/issues/1288,282970580,MDEyOklzc3VlQ29tbWVudDI4Mjk3MDU4MA==,10050469,2017-02-28T08:07:20Z,2017-02-28T08:07:20Z,MEMBER,"+1 for ``integrate`` The cumulative integral is of very frequent use in atmospheric sciences, too : https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.integrate.cumtrapz.html ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,210704949