home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 120038291

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
120038291 MDExOlB1bGxSZXF1ZXN0NTI0NTU3NTE= 668 Feature/rolling 2443309 closed 0     19 2015-12-02T21:20:34Z 2016-02-20T02:37:52Z 2016-02-20T02:32:33Z MEMBER   0 pydata/xarray/pulls/668

This is an initial take at the rolling aggregation object and methods in xray. This PR implements: - A new Rolling class available in DataArray objects:

Python rolling_obj = da.rolling(time=7) - bottleneck.move_* functions are wrapped and are available in the following manor:

Python rolling_obj.mean() - generic reduce method

Python from numpy import nanpercentile rolling_obj.reduce(nanpercentile, q=5) - iterating through the rolling object:

Python for label, da_window in rolling_obj: # da_window is a view of da

TODO: - [x] Documentation - [x] Cleanup _setup_windows - [x] Inject bottleneck methods in some generic way - [x] ~~Possibly create a Window object to hold windowed DataArrays~~

closes #641 #130 xref pydata/pandas#11603, pydata/pandas#11704 cc @shoyer @bartnijssen

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

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 19 rows from issue in issue_comments
Powered by Datasette · Queries took 0.883ms · About: xarray-datasette