Skip to content

[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
devin-petersohn:SPARK-40341-rolling-expanding-median
Closed

[SPARK-40341][PYTHON] Implement Rolling.median and Expanding.median in pandas API on Spark#55690
devin-petersohn wants to merge 2 commits intoapache:masterfrom
devin-petersohn:SPARK-40341-rolling-expanding-median

Conversation

@devin-petersohn
Copy link
Copy Markdown
Contributor

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)

…n pandas API on Spark

Co-Authored-By: Claude <noreply@anthropic.com>
Comment thread python/pyspark/pandas/window.py Outdated
"""
Calculate the rolling median.

.. versionadded:: 4.2.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's do 4.3.0. We cut branch-4.2 and we freeze the branch

Co-Authored-By: Claude <noreply@anthropic.com>
@HyukjinKwon
Copy link
Copy Markdown
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants