Skip to content

Commit

Permalink
Change description text
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Sep 1, 2015
1 parent 28afcfd commit f19445d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions python/pyspark/ml/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,9 +955,8 @@ class IndexToString(JavaTransformer, HasInputCol, HasOutputCol):

# a placeholder to make the labels show up in generated doc
labels = Param(Params._dummy(), "labels",
"Optional labels to be provided by the user, if not supplied column " +
"metadata is read for labels. The default value is an empty array, " +
"but the empty array is ignored and column metadata used instead.")
"Optional array of labels to be provided by the user, if not supplied or " +
"empty, column metadata is read for labels")

@keyword_only
def __init__(self, inputCol=None, outputCol=None, labels=None):
Expand All @@ -968,9 +967,8 @@ def __init__(self, inputCol=None, outputCol=None, labels=None):
self._java_obj = self._new_java_obj("org.apache.spark.ml.feature.IndexToString",
self.uid)
self.labels = Param(self, "labels",
"Optional labels to be provided by the user, if not supplied column " +
"metadata is read for labels. The default value is an empty array, " +
"but the empty array is ignored and column metadata used instead.")
"Optional array of labels to be provided by the user, if not supplied or " +
"empty, column metadata is read for labels")
kwargs = self.__init__._input_kwargs
self.setParams(**kwargs)

Expand Down

0 comments on commit f19445d

Please sign in to comment.