Skip to content

add rolling_apply method or function #641

Closed
@jhamman

Description

@jhamman

Pandas has a generic rolling_apply function. It would be nice to support a similar api on xray objects. The api I have in mind is something like:

# DataArray.rolling_apply(window, func, min_periods=None, freq=None,
#                         center=False, args=(), kwargs={})
da.rolling_apply(7, np.mean)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions