diff options
author | felixcheung <felixcheung_m@hotmail.com> | 2015-08-28 18:35:01 -0700 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2015-08-28 18:35:01 -0700 |
commit | 2a4e00ca4d4e7a148b4ff8ce0ad1c6d517cee55f (patch) | |
tree | 99948e6f7a674c5fcfa82526a50e11a5471f2910 /docs/ml-guide.md | |
parent | bb7f35239385ec74b5ee69631b5480fbcee253e4 (diff) | |
download | spark-2a4e00ca4d4e7a148b4ff8ce0ad1c6d517cee55f.tar.gz spark-2a4e00ca4d4e7a148b4ff8ce0ad1c6d517cee55f.tar.bz2 spark-2a4e00ca4d4e7a148b4ff8ce0ad1c6d517cee55f.zip |
[SPARK-9803] [SPARKR] Add subset and transform + tests
Add subset and transform
Also reorganize `[` & `[[` to subset instead of select
Note: for transform, transform is very similar to mutate. Spark doesn't seem to replace existing column with the name in mutate (ie. `mutate(df, age = df$age + 2)` - returned DataFrame has 2 columns with the same name 'age'), so therefore not doing that for now in transform.
Though it is clearly stated it should replace column with matching name (should I open a JIRA for mutate/transform?)
Author: felixcheung <felixcheung_m@hotmail.com>
Closes #8503 from felixcheung/rsubset_transform.
Diffstat (limited to 'docs/ml-guide.md')
0 files changed, 0 insertions, 0 deletions