improvement of a snippet of scala/spark code to improve performance

前端 未结 0 409
伪装坚强ぢ
伪装坚强ぢ 2021-01-11 13:50

I am trying to calculate the mean of a certain column and save it as a new column, following is my code snippet of achieving this:

df = df.withColumn("av         


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