issue_comments: 424479421
This data as json
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/2227#issuecomment-424479421 | https://api.github.com/repos/pydata/xarray/issues/2227 | 424479421 | MDEyOklzc3VlQ29tbWVudDQyNDQ3OTQyMQ== | 291576 | 2018-09-25T19:54:59Z | 2018-09-25T19:54:59Z | CONTRIBUTOR | Just for posterity, though, here is my simplified (working!) example: ``` import numpy as np import xarray as xr da = xr.DataArray(np.random.randn(10, 3000, 7000), dims=('time', 'latitude', 'longitude')) window = da.rolling(time=2).construct('win') indexes = window.argmax(dim='win') result = window.isel(win=indexes) ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
331668890 |