title: Iterate boolean comparison over two DataFrames?
body: <p>I have created two DF sets, one with a generic number list and another with a specific number list. I want to iterate over the first list and compare it to the second list; if GenericList[X] is equal to any number in SpecificNumber list, I want a return of True and if not, False.</p>
  
  <p>I have tried to utilize a if loop, something similar to for ( num &lt;- List ) print (list) if ..... </p>
  
  <pre class="lang-scala prettyprint-override"><code>scala&gt; val genericList = List(5,6,7,8,9,10)
  scala&gt; val df = genericList.toDF
  scala&gt; val specificList = List(5,-3,8)
  </code></pre>