HyukjinKwon commented on a change in pull request #30498:
URL: https://github.com/apache/spark/pull/30498#discussion_r532405657



##########
File path: python/pyspark/ml/functions.py
##########
@@ -69,6 +69,40 @@ def vector_to_array(col, dtype="float64"):
         
sc._jvm.org.apache.spark.ml.functions.vector_to_array(_to_java_column(col), 
dtype))
 
 
+def array_to_vector(col):
+    """
+    Converts a column of array<NumericType> type into a column of MLlib dense 
vectors

Review comment:
       ```suggestion
       Converts a column of array of numeric type into a column of dense 
vectors in MLlib
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to