Vector

class pyspark.ml.linalg.Vector[source]

Methods

toArray()

Convert the vector into an numpy.ndarray

Methods Documentation

toArray()[source]

Convert the vector into an numpy.ndarray

Returns:

numpy.ndarray