Details
-
Type:
Documentation
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.2, 1.1.1, 1.2.2, 1.3.1, 1.4.1, 1.5.0
-
Component/s: Documentation, MLlib, PySpark
-
Labels:None
Description
Several places in the PySpark SparseVector docs have one defined as:
SparseVector(4, [2, 4], [1.0, 2.0])
The index 4 goes out of bounds (but this is not checked).