I have two PySpark DataFrame :
From id To id Price Date a b 20 1/02/2018 b c 5 1/02/2018 c a 20 1/02/2018 a