aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/ml/feature.py
diff options
context:
space:
mode:
authorkrishnakalyan3 <krishnakalyan3@gmail.com>2016-12-11 09:28:16 +0000
committerSean Owen <sowen@cloudera.com>2016-12-11 09:28:16 +0000
commitc802ad87182520662be51eb611ea1c64f4874c4e (patch)
tree9cdfbac07619fbd004109666b7d926410c85def6 /python/pyspark/ml/feature.py
parentf60ffe74122717cd139e0f369cd255c03f8938ee (diff)
downloadspark-c802ad87182520662be51eb611ea1c64f4874c4e.tar.gz
spark-c802ad87182520662be51eb611ea1c64f4874c4e.tar.bz2
spark-c802ad87182520662be51eb611ea1c64f4874c4e.zip
[SPARK-18628][ML] Update Scala param and Python param to have quotes
## What changes were proposed in this pull request? Updated Scala param and Python param to have quotes around the options making it easier for users to read. ## How was this patch tested? Manually checked the docstrings Author: krishnakalyan3 <krishnakalyan3@gmail.com> Closes #16242 from krishnakalyan3/doc-string.
Diffstat (limited to 'python/pyspark/ml/feature.py')
-rwxr-xr-xpython/pyspark/ml/feature.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/pyspark/ml/feature.py b/python/pyspark/ml/feature.py
index 1d62b32534..62c31431b5 100755
--- a/python/pyspark/ml/feature.py
+++ b/python/pyspark/ml/feature.py
@@ -165,8 +165,8 @@ class Bucketizer(JavaTransformer, HasInputCol, HasOutputCol, JavaMLReadable, Jav
typeConverter=TypeConverters.toListFloat)
handleInvalid = Param(Params._dummy(), "handleInvalid", "how to handle invalid entries. " +
- "Options are skip (filter out rows with invalid values), " +
- "error (throw an error), or keep (keep invalid values in a special " +
+ "Options are 'skip' (filter out rows with invalid values), " +
+ "'error' (throw an error), or 'keep' (keep invalid values in a special " +
"additional bucket).",
typeConverter=TypeConverters.toString)