Vector

class pyspark.ml.linalg.Vector[source]

Methods

toArray()

Convert the vector into an numpy.ndarray

Methods Documentation

toArray() → numpy.ndarray[source]

Convert the vector into an numpy.ndarray

Returns

numpy.ndarray