zhengruifeng opened a new pull request, #47854: URL: https://github.com/apache/spark/pull/47854
### What changes were proposed in this pull request? Parallelize the KDE computation for `plotly` backend. Note that `matplotlib` backend is not optimized in this PR, due to the computation logic is slightly different between `plotly` and `matplotlib`: 1, `plotly`: compute a global `ind` across all input columns, and then compute all curves based on it; 2, `matplotlib`: for each input column, compute its `ind` and then the curve; I think `matplotlib`'s approach seems more reasonable, but it make this optimization cannot be directly applied on `matplotlib`, so it needs more investigation. ### Why are the changes needed? existing implementation compute each curve once, this PR aims to compute multiple columns together ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI and manually test ### Was this patch authored or co-authored using generative AI tooling? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
