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/1666#issuecomment-340923959,https://api.github.com/repos/pydata/xarray/issues/1666,340923959,MDEyOklzc3VlQ29tbWVudDM0MDkyMzk1OQ==,2443309,2017-10-31T22:16:07Z,2017-10-31T22:16:07Z,MEMBER,"@ziofil - We don't support indexing on the rolling iterator at the moment. You could just grab the windows you want in this way: ```Python w1 = 2 w2 = 7 for i, (k, v) in enumerate(r): if i > w1 and i <= w2: print(k.item(), v.values) 3 [2 3] 4 [3 4] 5 [4 5] 6 [5 6] 7 [6 7] ``` By the way, I think we'd be happy to see some feature development on this front if you are interested in developing the rolling objects out further.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,269297904 https://github.com/pydata/xarray/issues/1666#issuecomment-340241366,https://api.github.com/repos/pydata/xarray/issues/1666,340241366,MDEyOklzc3VlQ29tbWVudDM0MDI0MTM2Ng==,2443309,2017-10-29T06:46:01Z,2017-10-29T06:46:01Z,MEMBER,@shoyer - this is really odd. Its probably coming from https://github.com/pydata/xarray/blob/master/xarray/core/rolling.py#L149-L150 but I don't remember exactly what/why we're trying to accomplish here.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,269297904