I have two dataframes, "account"
and df1
.
For each row of df2
I need to lookup for a value in df1
. I have been trying something like this - (below function shows sample operations)
df2
def lookup(df2)
print df2.name
df1.foreach(lookup)
is running but not showing any results.
What could be the cause of this?