Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-44842][SPARK-43812][PS] Support stat functions for pandas 2.0.0 and enabling tests. #42526

Closed
wants to merge 5 commits into from

Conversation

itholic
Copy link
Contributor

@itholic itholic commented Aug 17, 2023

What changes were proposed in this pull request?

This PR proposes to match the behavior with pandas 2.0.0 and above for stat functions, such as sum, quantile, prod, etc. See pandas-dev/pandas#41480 and pandas-dev/pandas#47500 for more detail.

Why are the changes needed?

To match the behavior to latest pandas.

Does this PR introduce any user-facing change?

Yes, the behaviors for stat funcs are now matched with pandas 2.0.0 and above.

How was this patch tested?

Enabling & updating the existing UTs.

@zhengruifeng
Copy link
Contributor

merged to master

valentinp17 pushed a commit to valentinp17/spark that referenced this pull request Aug 24, 2023
…0 and enabling tests

### What changes were proposed in this pull request?

This PR proposes to match the behavior with pandas 2.0.0 and above for stat functions, such as `sum`, `quantile`, `prod`, etc. See pandas-dev/pandas#41480 and pandas-dev/pandas#47500 for more detail.

### Why are the changes needed?

To match the behavior to latest pandas.

### Does this PR introduce _any_ user-facing change?

Yes, the behaviors for stat funcs are now matched with pandas 2.0.0 and above.

### How was this patch tested?

Enabling & updating the existing UTs.

Closes apache#42526 from itholic/pandas_stat.

Authored-by: itholic <haejoon.lee@databricks.com>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
@itholic itholic deleted the pandas_stat branch November 20, 2023 01:35
ragnarok56 pushed a commit to ragnarok56/spark that referenced this pull request Mar 2, 2024
…0 and enabling tests

### What changes were proposed in this pull request?

This PR proposes to match the behavior with pandas 2.0.0 and above for stat functions, such as `sum`, `quantile`, `prod`, etc. See pandas-dev/pandas#41480 and pandas-dev/pandas#47500 for more detail.

### Why are the changes needed?

To match the behavior to latest pandas.

### Does this PR introduce _any_ user-facing change?

Yes, the behaviors for stat funcs are now matched with pandas 2.0.0 and above.

### How was this patch tested?

Enabling & updating the existing UTs.

Closes apache#42526 from itholic/pandas_stat.

Authored-by: itholic <haejoon.lee@databricks.com>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants