Skip to content

Commit

Permalink
fix line length
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Pentreath committed Mar 16, 2017
1 parent 5efe889 commit 5e53e05
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions python/pyspark/ml/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,9 +938,11 @@ class Imputer(JavaEstimator, HasInputCols, JavaMLReadable, JavaMLWritable):
"will be imputed.", typeConverter=TypeConverters.toFloat)

@keyword_only
def __init__(self, strategy="mean", missingValue=float("nan"), inputCols=None, outputCols=None):
def __init__(self, strategy="mean", missingValue=float("nan"), inputCols=None,
outputCols=None):
"""
__init__(self, strategy="mean", missingValue=float("nan"), inputCols=None, outputCols=None):
__init__(self, strategy="mean", missingValue=float("nan"), inputCols=None, \
outputCols=None):
"""
super(Imputer, self).__init__()
self._java_obj = self._new_java_obj("org.apache.spark.ml.feature.Imputer", self.uid)
Expand All @@ -950,9 +952,11 @@ def __init__(self, strategy="mean", missingValue=float("nan"), inputCols=None, o

@keyword_only
@since("2.2.0")
def setParams(self, strategy="mean", missingValue=float("nan"), inputCols=None, outputCols=None):
def setParams(self, strategy="mean", missingValue=float("nan"), inputCols=None,
outputCols=None):
"""
setParams(self, strategy="mean", missingValue=float("nan"), inputCols=None, outputCols=None)
setParams(self, strategy="mean", missingValue=float("nan"), inputCols=None, \
outputCols=None)
Sets params for this Imputer.
"""
kwargs = self._input_kwargs
Expand Down

0 comments on commit 5e53e05

Please sign in to comment.