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/5162#issuecomment-820418635,https://api.github.com/repos/pydata/xarray/issues/5162,820418635,MDEyOklzc3VlQ29tbWVudDgyMDQxODYzNQ==,14808389,2021-04-15T13:23:09Z,2021-04-15T13:23:09Z,MEMBER,"`window_kwargs` is literally the keyword argument form of `dim` (it should have been named `window` to make this a little bit clearer). These are equivalent:
```python
da.rolling({""x"": 3}) # dim
da.rolling(x=3) # window_kwargs
```
however, you might actually be looking for `DataArray.resample`:
```python
da.resample({""time"": ""1M""}) # indexer form
da.resample(time=""1M"") # indexer_kwargs form
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,858671865
https://github.com/pydata/xarray/issues/5162#issuecomment-820316347,https://api.github.com/repos/pydata/xarray/issues/5162,820316347,MDEyOklzc3VlQ29tbWVudDgyMDMxNjM0Nw==,21273359,2021-04-15T10:27:48Z,2021-04-15T10:27:48Z,NONE,"Yes, i follow that guidance.
I have try
da.rolling(dim = x).mean()
dim: One of DataArray da dimensions
x: int
That guide doesn't explicitly explain use cases of kwargs:
**window_kwargs (optional) – The keyword arguments form of dim. One of dim or window_kwargs must be provided.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,858671865
https://github.com/pydata/xarray/issues/5162#issuecomment-820278259,https://api.github.com/repos/pydata/xarray/issues/5162,820278259,MDEyOklzc3VlQ29tbWVudDgyMDI3ODI1OQ==,10050469,2021-04-15T09:29:55Z,2021-04-15T09:29:55Z,MEMBER,"http://xarray.pydata.org/en/stable/generated/xarray.DataArray.rolling.html
What did you try? What did not work out?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,858671865