[SPARK-40341][PYTHON] Implement Rolling.median and Expanding.median in pandas API on Spark#55690
Closed
devin-petersohn wants to merge 2 commits intoapache:masterfrom
Closed
Conversation
…n pandas API on Spark Co-Authored-By: Claude <noreply@anthropic.com>
HyukjinKwon
approved these changes
May 5, 2026
HyukjinKwon
reviewed
May 5, 2026
| """ | ||
| Calculate the rolling median. | ||
|
|
||
| .. versionadded:: 4.2.0 |
Member
There was a problem hiding this comment.
Let's do 4.3.0. We cut branch-4.2 and we freeze the branch
Co-Authored-By: Claude <noreply@anthropic.com>
Member
|
Merged to master and branch-4.x. |
HyukjinKwon
pushed a commit
that referenced
this pull request
May 6, 2026
…n pandas API on Spark ### What changes were proposed in this pull request? Implement `Rolling.median()` and `Expanding.median()` in the pandas API on Spark ### Why are the changes needed? Missing API coverage ### Does this PR introduce _any_ user-facing change? Yes ### How was this patch tested? Unit tests ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-4-6) Closes #55690 from devin-petersohn/SPARK-40341-rolling-expanding-median. Authored-by: Devin Petersohn <devin.petersohn@gmail.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org> (cherry picked from commit 00d2487) Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Implement
Rolling.median()andExpanding.median()in the pandas API on SparkWhy are the changes needed?
Missing API coverage
Does this PR introduce any user-facing change?
Yes
How was this patch tested?
Unit tests
Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-opus-4-6)