@@ -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