Skip to content

DOC: add time-distance weighted rolling aggregation example#63951

Merged
rhshadrach merged 1 commit intopandas-dev:mainfrom
vkverma9534:cookbook-decay-rolling
Jan 30, 2026
Merged

DOC: add time-distance weighted rolling aggregation example#63951
rhshadrach merged 1 commit intopandas-dev:mainfrom
vkverma9534:cookbook-decay-rolling

Conversation

@vkverma9534
Copy link
Contributor

This PR adds a small cookbook example showing how to compute time-distance (decay-weighted) rolling aggregations using existing pandas functionality, including handling irregular and duplicate timestamps.

Apologies for the churn earlier , I closed PR #63884 after main moved significantly and the diff became noisy, and have deleted that branch. This is a fresh, minimal PR based on current main.

Closes #63551.

@vkverma9534
Copy link
Contributor Author

@rhshadrach could you please review when you have a moment? Thanks!

Copy link
Member

@rhshadrach rhshadrach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rhshadrach rhshadrach added Docs Window rolling, ewma, expanding labels Jan 30, 2026
@rhshadrach rhshadrach added this to the 3.1 milestone Jan 30, 2026
@rhshadrach rhshadrach merged commit 1058c32 into pandas-dev:main Jan 30, 2026
11 checks passed
Aryn1102 pushed a commit to Aryn1102/pandas that referenced this pull request Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Docs Window rolling, ewma, expanding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH: Decay-weighted rolling aggregations with defined behavior for duplicate timestamps

2 participants