Skip to content

Commit

Permalink
Fix the varargs annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
zero323 committed Nov 24, 2020
1 parent 47a50c9 commit eca86aa
Showing 1 changed file with 8 additions and 28 deletions.
36 changes: 8 additions & 28 deletions python/pyspark/mllib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,8 @@ def convertVectorColumnsToML(dataset, *cols):
----------
dataset : :py:class:`pyspark.sql.DataFrame`
input dataset
\\*cols : columns (variable number and type)
* str: multiple str values
* list: a list of str
listing vector columns to be converted.
\\*cols : str
Vector columns to be converted.
New vector columns will be ignored. If unspecified, all old
vector columns will be converted excepted nested ones.
Expand Down Expand Up @@ -290,13 +285,8 @@ def convertVectorColumnsFromML(dataset, *cols):
----------
dataset : :py:class:`pyspark.sql.DataFrame`
input dataset
\\*cols : columns (variable number and type)
* str: multiple str values
* list: a list of str
listing vector columns to be converted.
\\*cols : str
Vector columns to be converted.
Old vector columns will be ignored. If unspecified, all new
vector columns will be converted except nested ones.
Expand Down Expand Up @@ -344,13 +334,8 @@ def convertMatrixColumnsToML(dataset, *cols):
----------
dataset : :py:class:`pyspark.sql.DataFrame`
input dataset
\\*cols : columns (variable number and type)
* str: multiple str values
* list: a list of str
listing matrix columns to be converted.
\\*cols : str
Matrix columns to be converted.
New matrix columns will be ignored. If unspecified, all old
matrix columns will be converted excepted nested ones.
Expand Down Expand Up @@ -398,13 +383,8 @@ def convertMatrixColumnsFromML(dataset, *cols):
----------
dataset : :py:class:`pyspark.sql.DataFrame`
input dataset
\\*cols : columns (variable number and type)
* str: multiple str values
* list: a list of str
listing matrix columns to be converted.
\\*cols : str
Matrix columns to be converted.
Old matrix columns will be ignored. If unspecified, all new
matrix columns will be converted except nested ones.
Expand Down

0 comments on commit eca86aa

Please sign in to comment.