[ 
https://issues.apache.org/jira/browse/SPARK-9198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633844#comment-14633844
 ] 

Apache Spark commented on SPARK-9198:
-------------------------------------

User 'jkbradley' has created a pull request for this issue:
https://github.com/apache/spark/pull/7541

> 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.0.2, 1.1.1, 1.2.2, 1.3.1, 1.4.1, 1.5.0
>            Reporter: Joseph K. Bradley
>            Assignee: Joseph K. Bradley
>            Priority: Minor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to