home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 744274576

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
744274576 MDU6SXNzdWU3NDQyNzQ1NzY= 4588 drop keyword in ds.rolling(time=7, drop=True).mean()? 15331990 closed 0     4 2020-11-16T23:10:35Z 2021-02-18T22:17:07Z 2021-02-18T22:17:07Z CONTRIBUTOR      

Should rolling have a drop keyword, similar to squeeze(drop=True)? import xarray as xr air = xr.tutorial.open_dataset('air_temperature') air = air.rolling(time=7, drop=True).mean()

Equivalent: import xarray as xr air = xr.tutorial.open_dataset('air_temperature') air = air.rolling(time=7).mean() air = air.isel(time=slice(6, None))

Actual implementation will require considering min_period / center=True too

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4588/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 4 rows from issue in issue_comments
Powered by Datasette · Queries took 75.521ms · About: xarray-datasette