[SPARK-49694][PYTHON][CONNECT] Support scatter plots#48219
Closed
xinrong-meng wants to merge 3 commits intoapache:masterfrom
Closed
[SPARK-49694][PYTHON][CONNECT] Support scatter plots#48219xinrong-meng wants to merge 3 commits intoapache:masterfrom
xinrong-meng wants to merge 3 commits intoapache:masterfrom
Conversation
0f0b00f to
9c917fc
Compare
zhengruifeng
approved these changes
Sep 24, 2024
| self._check_fig_data("bar", fig["data"][0], ["A", "B", "C"], [10, 30, 20], "int_val") | ||
| self._check_fig_data("bar", fig["data"][1], ["A", "B", "C"], [1.5, 2.5, 3.5], "float_val") | ||
|
|
||
| def test_barh_plot(self): |
Contributor
There was a problem hiding this comment.
why removing this test?
Member
Author
There was a problem hiding this comment.
My bad.. removed by mistake while rebasing
Member
Author
|
Merged to master, thank you! |
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?
Support scatter plots with plotly backend on both Spark Connect and Spark classic.
Why are the changes needed?
While Pandas on Spark supports plotting, PySpark currently lacks this feature. The proposed API will enable users to generate visualizations. This will provide users with an intuitive, interactive way to explore and understand large datasets directly from PySpark DataFrames, streamlining the data analysis workflow in distributed environments.
See more at PySpark Plotting API Specification in progress.
Part of https://issues.apache.org/jira/browse/SPARK-49530.
Does this PR introduce any user-facing change?
Yes. Scatter plots are supported as shown below.
How was this patch tested?
Unit tests.
Was this patch authored or co-authored using generative AI tooling?
No.