How to union multiple dataframe in pyspark within Databricks notebook
I have 4 DFs: Avg_OpenBy_Year, AvgHighBy_Year, AvgLowBy_Year and AvgClose_By_Year, all of them have a common column of 'Year'.I want to join the three together to get a final df like:`Year, Open, High, Low, Close`At the moment I have to use the ugly...
- 7026 Views
- 1 replies
- 0 kudos
Latest Reply
Import reduce function in this way: from functools import reduce
- 0 kudos