Details
Description
The documentation of the toArray() method and the values property in pyspark.ml.linalg.DenseVector is confusing.
toArray(): Returns an numpy.ndarray
values: Returns a list of values
However, they are actually aliases and they both return a numpy.ndarray.
FIX: either change the documentation or changeĀ the values property to return a Python list.
Attachments
Issue Links
- links to