Laila
0
Q:

spark sparsevector to list

list(vector.toArray().tolist())
0
In your case - at least according to the docs I found 
- you should be able to access those values with

DenseVector.values
0

New to Communities?

Join the community