Description
It is convenient to add "in" operator to column, so we can filter values in a set.
df.filter(col("brand").in("dell", "sony"))
In R, the operator should be `%in%`.
Attachments
Issue Links
- blocks
-
SPARK-8477 Add in operator to DataFrame Column in Python
- Closed
- is related to
-
SPARK-8818 In should not take Any not Column
- Resolved
-
SPARK-8431 Add in operator to DataFrame Column in SparkR
- Resolved
- links to