Spark Sparsevector para listar
list(vector.toArray().tolist())
Index out of bounds
list(vector.toArray().tolist())