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/1335#issuecomment-290570531,https://api.github.com/repos/pydata/xarray/issues/1335,290570531,MDEyOklzc3VlQ29tbWVudDI5MDU3MDUzMQ==,1217238,2017-03-30T23:09:19Z,2017-03-30T23:09:19Z,MEMBER,Someone also wanted a default dimension for `diff`: https://github.com/pydata/xarray/pull/1131,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,217584777
https://github.com/pydata/xarray/issues/1335#issuecomment-289853741,https://api.github.com/repos/pydata/xarray/issues/1335,289853741,MDEyOklzc3VlQ29tbWVudDI4OTg1Mzc0MQ==,1217238,2017-03-28T18:00:45Z,2017-03-28T18:00:45Z,MEMBER,"Yes, it would be reasonable to not require specifying the dimension for one-dimensional arguments.
I recall this coming up before for other methods, but can't remember the particulars now.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,217584777
https://github.com/pydata/xarray/issues/1335#issuecomment-289806577,https://api.github.com/repos/pydata/xarray/issues/1335,289806577,MDEyOklzc3VlQ29tbWVudDI4OTgwNjU3Nw==,10050469,2017-03-28T15:24:58Z,2017-03-28T15:24:58Z,MEMBER,"I'm not sure that whether coordinates should play a role here, but rather the dimensionality of the data (i.e. maybe xarray could infer that the data has one dimension and work on that axis?).
I personally find the numpy behavior with ndarrays (flattening the array before applying cumsum) quite dangerous, I would rather like it to raise an error...
```python
a = np.arange(12).reshape((4, 3))
np.cumsum(a)
array([ 0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66])
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,217584777