Pyspark: error says “avg not defined”, but it has been imported

前端 未结 0 1739
青春惊慌失措
青春惊慌失措 2021-01-12 00:51

I am developing a function in pyspark that involves a .agg(avg("colname")). I have ran from pyspark.sql import functions but the avg para

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