Skip to content

Commit

Permalink
pep8 style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Dec 2, 2015
1 parent cfb255f commit 2540101
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/pyspark/ml/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,7 @@ def getDegree(self):
"""
return self.getOrDefault(self.degree)


@inherit_doc
class QuantileDiscretizer(JavaEstimator, HasInputCol, HasOutputCol):
"""
Expand All @@ -997,8 +998,8 @@ class QuantileDiscretizer(JavaEstimator, HasInputCol, HasOutputCol):

# a placeholder to make it appear in the generated doc
numBuckets = Param(Params._dummy(), "numBuckets",
"Maximum number of buckets (quantiles, or " +
"categories) into which data points are grouped. Must be >= 2.")
"Maximum number of buckets (quantiles, or " +
"categories) into which data points are grouped. Must be >= 2.")

@keyword_only
def __init__(self, numBuckets=2, inputCol=None, outputCol=None):
Expand Down

0 comments on commit 2540101

Please sign in to comment.