home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 572718436

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/3671#issuecomment-572718436 https://api.github.com/repos/pydata/xarray/issues/3671 572718436 MDEyOklzc3VlQ29tbWVudDU3MjcxODQzNg== 6815844 2020-01-09T19:32:29Z 2020-01-09T19:32:29Z MEMBER

Hi @mark-boer for raising an issue. I am not sure if I got the point exactly, but the following is similar to what you want? python In [81]: arr = xr.DataArray(np.arange(4), dims=("x",)) ...: arr.rolling(x=2).construct("roll_x").isel(x=slice(1, None, 2)) Out[81]: <xarray.DataArray (x: 2, roll_x: 2)> array([[0., 1.], [2., 3.]]) Dimensions without coordinates: x, roll_x

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  546791416
Powered by Datasette · Queries took 0.763ms · About: xarray-datasette