diff options
author | Davies Liu <davies@databricks.com> | 2015-03-26 00:01:24 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-03-26 00:01:24 -0700 |
commit | f535802977c5a3ce45894d89fdf59f8723f023c8 (patch) | |
tree | c58cdee9ad6f1b3fae2bd3339644097bd9cbeb7f /external | |
parent | 276ef1c3cfd44b5fc082e1a495fff22fbaf6add3 (diff) | |
download | spark-f535802977c5a3ce45894d89fdf59f8723f023c8.tar.gz spark-f535802977c5a3ce45894d89fdf59f8723f023c8.tar.bz2 spark-f535802977c5a3ce45894d89fdf59f8723f023c8.zip |
[SPARK-6536] [PySpark] Column.inSet() in Python
```
>>> 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 #5190 from davies/in and squashes the following commits:
6b73a47 [Davies Liu] Column.inSet() in Python
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions