Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix python style
  • Loading branch information
WeichenXu123 committed Apr 13, 2018
commit b91dbebe0048c85d771aaaf238dc11b2f4d36f55
3 changes: 1 addition & 2 deletions python/pyspark/ml/stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,11 @@ def summary(self, featuresCol, weightCol=None):

:param featuresCol:
a column that contains features Vector object.
:param weightCol
:param weightCol:
a column that contains weight value. Default weight is 1.0.
:return:
an aggregate column that contains the statistics. The exact content of this
structure is determined during the creation of the builder.

"""
featuresCol, weightCol = Summarizer._check_param(featuresCol, weightCol)
return Column(self._js.summary(featuresCol._jc, weightCol._jc))
Expand Down