Skip to content

Commit 1e73745

Browse files
committed
Correct SparseVector.parse documentation
1 parent adb5483 commit 1e73745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/mllib/linalg/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def __reduce__(self):
558558
@staticmethod
559559
def parse(s):
560560
"""
561-
Parse string representation back into the DenseVector.
561+
Parse string representation back into the SparseVector.
562562
563563
>>> SparseVector.parse(' (4, [0,1 ],[ 4.0,5.0] )')
564564
SparseVector(4, {0: 4.0, 1: 5.0})

0 commit comments

Comments
 (0)