Skip to content

Commit f19445d

Browse files
committed
Change description text
1 parent 28afcfd commit f19445d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

python/pyspark/ml/feature.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -955,9 +955,8 @@ class IndexToString(JavaTransformer, HasInputCol, HasOutputCol):
955955

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

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

0 commit comments

Comments
 (0)