title: How to filter out elements in RDD using list of exclusions (similar to isin)?
body: <p>I am trying to filter the arraybuffer using elements in a list similar to <code>isin</code> in Dataframe.</p>
  
  <pre><code>val booksDF: DataFrame = ...
  val Books_Category = List("A","B","C")
  val action_books = booksDF.filter($"bk_category_cd" isin (Books_Category: _*))
  </code></pre>
  
  <p>How do I apply same filter using collection on an RDD?</p>