[
https://issues.apache.org/jira/browse/SPARK-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380961#comment-14380961
]
Michael Armbrust commented on SPARK-6536:
-----------------------------------------
{{inSet}} or maybe {{containedIn}}?
> Add IN to python Column
> -----------------------
>
> Key: SPARK-6536
> URL: https://issues.apache.org/jira/browse/SPARK-6536
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Michael Armbrust
> Assignee: Davies Liu
>
> In scala you can check for membership in a set using the DSL function {{in}}
> {code}
> df("column").in(lit(1), lit(2))
> {code}
> It would be nice to be able to do something similar in python (possibly
> without the lits (which we might revisit for scala as well) /cc [~rxin]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]