Skip to content

Commit bd80b37

Browse files
author
Wayne Zhang
committed
fix style
1 parent e5c8dcf commit bd80b37

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

python/pyspark/ml/feature.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2116,8 +2116,8 @@ class StringIndexer(JavaEstimator, HasInputCol, HasOutputCol, HasHandleInvalid,
21162116
"""
21172117

21182118
stringOrderType = Param(Params._dummy(), "stringOrderType",
2119-
"How to order labels of string column. The first label after ordering " +
2120-
" is assigned an index of 0. Supported options: " +
2119+
"How to order labels of string column. The first label after " +
2120+
"ordering is assigned an index of 0. Supported options: " +
21212121
"frequencyDesc, frequencyAsc, alphabetDsc, alphabetAsc.",
21222122
typeConverter=TypeConverters.toString)
21232123

@@ -2163,6 +2163,7 @@ def getStringOrderType(self):
21632163
"""
21642164
return self.getOrDefault(self.stringOrderType)
21652165

2166+
21662167
class StringIndexerModel(JavaModel, JavaMLReadable, JavaMLWritable):
21672168
"""
21682169
Model fitted by :py:class:`StringIndexer`.

0 commit comments

Comments
 (0)