zhengruifeng opened a new pull request, #36560:
URL: https://github.com/apache/spark/pull/36560

   ### What changes were proposed in this pull request?
   make pandas-on-spark's kurt consistent with pandas
   
   
   ### Why are the changes needed?
   1, the formulas of Kurtosis were different between spark sql and pandas;
   2, pandas zeros out small `numerator` and `denominator` for better numerical 
stability;
   
   
   ### Does this PR introduce _any_ user-facing change?
   yes, the logic of kurt changed
   
   
   ### How was this patch tested?
   added UT
   


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to