forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-49382][PS] Make frame box plot properly render the fliers/outl…
…iers ### What changes were proposed in this pull request? fliers/outliers was ignored in the initial implementation apache#36317 ### Why are the changes needed? feature parity for Pandas and Series box plot ### Does this PR introduce _any_ user-facing change? ``` import pyspark.pandas as ps df = ps.DataFrame([[5.1, 3.5, 0], [4.9, 3.0, 0], [7.0, 3.2, 1], [6.4, 3.2, 1], [5.9, 3.0, 2], [100, 200, 300]], columns=['length', 'width', 'species']) df.boxplot() ``` `df.length.plot.box()` ![image](https://github.com/user-attachments/assets/43da563c-5f68-4305-ad27-a4f04815dfd1) before: `df.boxplot()` ![image](https://github.com/user-attachments/assets/e25c2760-c12a-4801-a730-3987a020f889) after: `df.boxplot()` ![image](https://github.com/user-attachments/assets/c19f13b1-b9e4-423e-bcec-0c47c1c8df32) ### How was this patch tested? CI and manually check ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#47866 from zhengruifeng/plot_hist_fly. Authored-by: Ruifeng Zheng <ruifengz@apache.org> Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
- Loading branch information
1 parent
f3a430c
commit 45b864a
Showing
4 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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