title: Call items inside list of PySpark data frame
body: <p>I have the following data frame</p>
  
  <pre><code>+------------------+----------+------------------+
  |        antecedent|consequent|        confidence|
  +------------------+----------+------------------+
  |         [7, 2, 0]|       [8]|0.6237623762376238|
  |         [7, 2, 0]|       [1]|               1.0|
  |         [7, 2, 0]|       [5]|0.9975247524752475|
  |         [7, 2, 0]|       [3]|0.9975247524752475|
  |         [7, 2, 0]|       [4]|0.9975247524752475|
  |         [7, 2, 0]|       [6]| 0.995049504950495|
  |      [6, 5, 3, 4]|       [8]| 0.623721881390593|
  |      [6, 5, 3, 4]|       [1]|               1.0|
  |      [6, 5, 3, 4]|       [2]|               1.0|
  |      [6, 5, 3, 4]|       [0]|               1.0|
  |      [6, 5, 3, 4]|       [7]| 0.820040899795501|
  |[9, 8, 6, 5, 1, 2]|       [0]|               1.0|
  |[9, 8, 6, 5, 1, 2]|       [3]|               1.0|
  |[9, 8, 6, 5, 1, 2]|       [4]|               1.0|
  |         [7, 3, 1]|       [8]|0.6228287841191067|
  |         [7, 3, 1]|       [5]|               1.0|
  |         [7, 3, 1]|       [2]|               1.0|
  |         [7, 3, 1]|       [0]|               1.0|
  |         [7, 3, 1]|       [4]|               1.0|
  |         [7, 3, 1]|       [6]|0.9950372208436724|
  +------------------+----------+------------------+
  </code></pre>
  
  <p>I want to make some queries on it, for example filter rows where antecedent does not contain [7,3], I tried this query ,but it seems wrong because 7,3 are integer numbers</p>
  
  <pre><code>from pyspark.sql.functions import *
  q = r.filter(~col('antecedent').isin([7,3])).show()
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>"condition should be string or Column"
  </code></pre>