SQL like NOT IN clause for PySpark data frames
<p>In SQL, we can for example, do <code>select * from table where col1 not in ('A','B');</code></p>
<p>I was wondering if there is a PySpark equivalent for this. I was able to find the <code>isin</code> function for SQL like <code>IN</code> clause, but nothing for <code>NOT IN</code>.</p>