Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

spark sparsevector to list

list(vector.toArray().tolist())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #spark #sparsevector #list
ADD COMMENT
Topic
Name
4+8 =