I would like to rewrite this from R to Pyspark, any nice looking suggestions?
array <- c(1,2,3) dataset <- filter(!(column %in% array))
Take the operator ~ which means contrary :
df_filtered = df.filter(~df["column_name"].isin([1, 2, 3]))