You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/07/20 19:00:07 UTC

[jira] [Created] (SPARK-9198) Typo in PySpark SparseVector docs (bad index)

Joseph K. Bradley created SPARK-9198:
----------------------------------------

             Summary: Typo in PySpark SparseVector docs (bad index)
                 Key: SPARK-9198
                 URL: https://issues.apache.org/jira/browse/SPARK-9198
             Project: Spark
          Issue Type: Documentation
          Components: Documentation, MLlib, PySpark
    Affects Versions: 1.4.1, 1.3.1, 1.2.2, 1.1.1, 1.0.2, 1.5.0
            Reporter: Joseph K. Bradley
            Assignee: Joseph K. Bradley
            Priority: Minor


Several places in the PySpark SparseVector docs have one defined as:
{code}
SparseVector(4, [2, 4], [1.0, 2.0])
{code}
The index 4 goes out of bounds (but this is not checked).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org