Explain the difference between the result got from Spark approxQuantile function and percentile_approx

前端 未结 0 1908
时光说笑
时光说笑 2020-12-07 07:24

When I run the code below, I got the result: Quantiles segments =WrappedArray(-27.0, 2.0, 4443.0), which shows the median is 2.0

val quantiles = dfQuestions .stat .ap

相关标签:
回答
  • 消灭零回复
提交回复
热议问题