pyspark: How do I do a group by then merge the result back to the original data?

后端 未结 0 411
抹茶落季
抹茶落季 2021-02-01 06:23

In Spark, I can do a group by like so

df_summ = df.groupby("col").aggregate(...).

But how do I merge the results back to the original data e

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