Assume these two pyspark dataframes
:
dfA
id
1
2
3
4
dfB
src,dst
2 ,3
1 ,3
3 ,4
4 ,1
7 ,3
1 ,8
How can I get this desired output:
resultDf
src,dst
2 ,3
1 ,3
3 ,4
4 ,1
Basically I want to select Rows
from dfB
that contain a value of dfA