diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2016-04-26 14:38:29 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2016-04-26 14:38:29 -0700 |
commit | e88476c8c6a74a92eb70b4bda8394936e0036729 (patch) | |
tree | 6aee5161689f6dc4491cecf848f7163ba75f210c /docs | |
parent | e4f3eec5b750389ce3f7c6d023bb7db3b0f8cf29 (diff) | |
download | spark-e88476c8c6a74a92eb70b4bda8394936e0036729.tar.gz spark-e88476c8c6a74a92eb70b4bda8394936e0036729.tar.bz2 spark-e88476c8c6a74a92eb70b4bda8394936e0036729.zip |
[SPARK-14514][DOC] Add python example for VectorSlicer
## What changes were proposed in this pull request?
Add the missing python example for VectorSlicer
## How was this patch tested?
manual tests
Author: Zheng RuiFeng <ruifengz@foxmail.com>
Closes #12282 from zhengruifeng/vecslicer_pe.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ml-features.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ml-features.md b/docs/ml-features.md index 11d5acbb10..0b8f2d773c 100644 --- a/docs/ml-features.md +++ b/docs/ml-features.md @@ -1191,6 +1191,14 @@ for more details on the API. {% include_example java/org/apache/spark/examples/ml/JavaVectorSlicerExample.java %} </div> + +<div data-lang="python" markdown="1"> + +Refer to the [VectorSlicer Python docs](api/python/pyspark.ml.html#pyspark.ml.feature.VectorSlicer) +for more details on the API. + +{% include_example python/ml/vector_slicer_example.py %} +</div> </div> ## RFormula |