1. [SPARK-26638][PYSPARK][ML] Pyspark vector classes always return error (commit: 8debdbdd8cd6032497353e604e61fa1215803881) (details)
Commit 8debdbdd8cd6032497353e604e61fa1215803881 by sean.owen
[SPARK-26638][PYSPARK][ML] Pyspark vector classes always return error
for unary negation
## What changes were proposed in this pull request?
Fix implementation of unary negation (`__neg__`) in Pyspark DenseVectors
## How was this patch tested?
Existing tests, plus new doctest
Closes #23570 from srowen/SPARK-26638.
Authored-by: Sean Owen <> Signed-off-by: Sean
Owen <>
(cherry picked from commit 0b3abef1950f486001160ec578e4f628c199eeb4)
Signed-off-by: Sean Owen <>
(commit: 8debdbdd8cd6032497353e604e61fa1215803881)
The file was modifiedpython/pyspark/ml/linalg/ (diff)
The file was modifiedpython/pyspark/mllib/linalg/ (diff)