Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9198

Typo in PySpark SparseVector docs (bad index)

    Details

      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).

        Attachments

          Activity

            People

            • Assignee:
              josephkb Joseph K. Bradley
              Reporter:
              josephkb Joseph K. Bradley
              Shepherd:
              Xiangrui Meng
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified