VectorAssembler gives struct type output instead of vector type
I’m converting two columns of double type to a vector using VectorAssembler but I’m getting a struct with all the vector parameters as the output. This is the code for the vector transform