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/2755#issuecomment-461717329,https://api.github.com/repos/pydata/xarray/issues/2755,461717329,MDEyOklzc3VlQ29tbWVudDQ2MTcxNzMyOQ==,44284270,2019-02-08T07:42:34Z,2019-02-08T07:52:22Z,NONE,"Hi all so finally it worked, just for the benefit of others this is how it wents
```
aa = dset.where(dset.precip<50).rolling(time=59).count()
```
this works but brings up a dataset which i then convert to xarray dataset with
```
aa = aa.to_array()
```
Thanks to all for the guidance.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,408010761
https://github.com/pydata/xarray/issues/2755#issuecomment-461707837,https://api.github.com/repos/pydata/xarray/issues/2755,461707837,MDEyOklzc3VlQ29tbWVudDQ2MTcwNzgzNw==,44284270,2019-02-08T06:48:24Z,2019-02-08T06:48:24Z,NONE,"Hi thanks but yes I want something like you have written I tried it and got the following error
aa = dset.where(dset.precip<50).rolling(time=59).count('time')
Traceback (most recent call last):
File ""/Users/mada0007/anaconda3/envs/RAWORK/lib/python3.6/site-packages/IPython/core/interactiveshell.py"", line 3267, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File """", line 1, in
aa = dset.where(dset.precip<50).rolling(time=59).count('time')
TypeError: rolling_count() takes 1 positional argument but 2 were given
","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,408010761