Vector

class pyspark.ml.linalg.Vector

Methods

toArray()

Convert the vector into an numpy.ndarray

Methods Documentation

toArray() → numpy.ndarray

Convert the vector into an numpy.ndarray

Returns

numpy.ndarray