I was trying to convert an RDD
of SparseVector
into a DataFrame
. I have done this in Scala
and Python
but never in Java
, indeed the answer can be found here.
I tried to find examples that covered this topic but I couldn't find any. Nevertheless, it apparently works the same way as Scala, but I couldn't replicate it.