Skip to content

[SPARK-6536] [PySpark] Column.inSet() in Python#5190

Closed
davies wants to merge 1 commit into
apache:masterfrom
davies:in
Closed

[SPARK-6536] [PySpark] Column.inSet() in Python#5190
davies wants to merge 1 commit into
apache:masterfrom
davies:in

Conversation

@davies

@davies davies commented Mar 25, 2015

Copy link
Copy Markdown
Contributor
>>> df[df.name.inSet("Bob", "Mike")].collect()
[Row(age=5, name=u'Bob')]
>>> df[df.age.inSet([1, 2, 3])].collect()
[Row(age=2, name=u'Alice')]

@SparkQA

SparkQA commented Mar 25, 2015

Copy link
Copy Markdown

Test build #29189 has started for PR 5190 at commit 6b73a47.

  • This patch merges cleanly.

@SparkQA

SparkQA commented Mar 26, 2015

Copy link
Copy Markdown

Test build #29189 has finished for PR 5190 at commit 6b73a47.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • case class Data(weight: Double, mu: Vector, sigma: Matrix)

@AmplabJenkins

Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29189/
Test PASSed.

@rxin

rxin commented Mar 26, 2015

Copy link
Copy Markdown
Contributor

Thanks. Merging in master & branch-1.3.

guavuslabs-builder pushed a commit to ThalesGroup/spark that referenced this pull request Mar 26, 2015
```
>>> df[df.name.inSet("Bob", "Mike")].collect()
[Row(age=5, name=u'Bob')]
>>> df[df.age.inSet([1, 2, 3])].collect()
[Row(age=2, name=u'Alice')]
```

Author: Davies Liu <davies@databricks.com>

Closes apache#5190 from davies/in and squashes the following commits:

6b73a47 [Davies Liu] Column.inSet() in Python

(cherry picked from commit f535802)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@asfgit asfgit closed this in f535802 Mar 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants