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/7152#issuecomment-1292355722,https://api.github.com/repos/pydata/xarray/issues/7152,1292355722,IC_kwDOAMm_X85NB8iK,14371165,2022-10-26T17:14:12Z,2022-10-26T17:14:12Z,MEMBER,"@patrick-naylor, feel free to try out a better default example if you want.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1403614394
https://github.com/pydata/xarray/pull/7152#issuecomment-1287850448,https://api.github.com/repos/pydata/xarray/issues/7152,1287850448,IC_kwDOAMm_X85MwwnQ,14371165,2022-10-22T16:40:12Z,2022-10-22T16:40:12Z,MEMBER,"@keewis What does the numbers mean in `Cannot parse: 201:27`? Because I can't find any functions with docstrings in this file, it's just a bunch of multiline strings that are defined to variables and in my mind shouldn't trigger blackdoc.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1403614394
https://github.com/pydata/xarray/pull/7152#issuecomment-1287768499,https://api.github.com/repos/pydata/xarray/issues/7152,1287768499,IC_kwDOAMm_X85Mwcmz,14371165,2022-10-22T11:38:03Z,2022-10-22T11:38:03Z,MEMBER,"@dcherian cumsum for resample fails for some reason do you have any ideas?
```python
import numpy as np
import pandas as pd
import xarray as xr
da = xr.DataArray(
np.array([1, 2, 3, 1, 2, np.nan]),
dims=""time"",
coords=dict(
time=(""time"", pd.date_range(""01-01-2001"", freq=""M"", periods=6)),
labels=(""time"", np.array([""a"", ""b"", ""c"", ""c"", ""b"", ""a""])),
),
)
ds = xr.Dataset(dict(da=da))
a = ds.resample(time=""3M"")
a.cumsum()
Traceback (most recent call last):
File ""C:\Users\J.W\anaconda3\envs\xarray-tests\lib\site-packages\spyder_kernels\py3compat.py"", line 356, in compat_exec
exec(code, globals, locals)
File ""c:\users\j.w\documents\github\xarray\xarray\util\untitled2.py"", line 20, in
a.cumsum()
File ""C:\Users\J.W\Documents\GitHub\xarray\xarray\core\_aggregations.py"", line 4921, in cumsum
return self.reduce(
File ""C:\Users\J.W\Documents\GitHub\xarray\xarray\core\resample.py"", line 395, in reduce
return super().reduce(
File ""C:\Users\J.W\Documents\GitHub\xarray\xarray\core\groupby.py"", line 1357, in reduce
return self.map(reduce_dataset)
File ""C:\Users\J.W\Documents\GitHub\xarray\xarray\core\resample.py"", line 342, in map
return combined.rename({self._resample_dim: self._dim})
File ""C:\Users\J.W\Documents\GitHub\xarray\xarray\core\dataset.py"", line 3646, in rename
return self._rename(name_dict=name_dict, **names)
File ""C:\Users\J.W\Documents\GitHub\xarray\xarray\core\dataset.py"", line 3587, in _rename
raise ValueError(
ValueError: cannot rename '__resample_dim__' because it is not a variable or dimension in this dataset
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1403614394
https://github.com/pydata/xarray/pull/7152#issuecomment-1287768091,https://api.github.com/repos/pydata/xarray/issues/7152,1287768091,IC_kwDOAMm_X85Mwcgb,14371165,2022-10-22T11:35:14Z,2022-10-22T11:35:14Z,MEMBER,"@keewis do you understand this blackdoc error?
```
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check yaml...............................................................Passed
debug statements (python)................................................Passed
mixed line ending........................................................Passed
autoflake................................................................Passed
isort....................................................................Passed
pyupgrade................................................................Passed
black....................................................................Passed
black-jupyter............................................................Passed
blackdoc.................................................................Failed
- hook id: blackdoc
- exit code: 123
error: cannot format /code/xarray/util/generate_aggregations.py: Cannot parse: 201:27: EOF in multi-line string
Oh no! 💥 💔 💥
215 files left unchanged, 1 file fails to reformat.
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1403614394
https://github.com/pydata/xarray/pull/7152#issuecomment-1286660760,https://api.github.com/repos/pydata/xarray/issues/7152,1286660760,IC_kwDOAMm_X85MsOKY,14371165,2022-10-21T08:51:12Z,2022-10-21T08:51:12Z,MEMBER,"I don't think you have `flox` installed, if it's not installed the code will take the old path.
Do `conda install flox` and I think you'll get the NotImplementedError. Then you maybe have to change the default settings in cumsum so flox is not used.","{""total_count"": 1, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 1, ""rocket"": 0, ""eyes"": 0}",,1403614394
https://github.com/pydata/xarray/pull/7152#issuecomment-1273832790,https://api.github.com/repos/pydata/xarray/issues/7152,1273832790,IC_kwDOAMm_X85L7SVW,14371165,2022-10-10T21:23:17Z,2022-10-10T21:23:17Z,MEMBER,"Right now, I think `cumsum` and `cumprod` is enough. [numpy-groupies](https://github.com/ml31415/numpy-groupies) has a few more examples that I suppose we could support in the future.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1403614394
https://github.com/pydata/xarray/pull/7152#issuecomment-1273827112,https://api.github.com/repos/pydata/xarray/issues/7152,1273827112,IC_kwDOAMm_X85L7Q8o,14371165,2022-10-10T21:14:28Z,2022-10-10T21:14:28Z,MEMBER,"Very nice, this is something that's been on the TODO list! :)
I believe we wanted to rename `generate_reductions.py` to `generate_aggregations.py` so cumsum et al could be included and generated there as well. Is there a lot of work for you if try to merge these into that one?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1403614394