0
点赞
收藏
分享

微信扫一扫

spark scala 求整列的总和值

郝春妮 2022-07-27 阅读 104


​val sumValue = theDF.map(_(0).asInstanceOf[Double]).reduce(_+_)​


举报

相关推荐

0 条评论