I would like to implement the below SQL conditions in Pyspark
SELECT * FROM table WHERE NOT ( ID = 1 AND E