Spark Scala copy column from one dataframe to another

后端 未结 1 588
抹茶落季
抹茶落季 2021-01-27 11:02

I have a modified version of the original dataframe on which I did clustering, Now I want to bring the predicted column back to the original DF (the index is ok, so it matches).

相关标签:
1条回答
  • 2021-01-27 11:30

    you need to join the two dataframes and then select the columns you're interested in

    0 讨论(0)
提交回复
热议问题