HyukjinKwon commented on a change in pull request #29917:
URL: https://github.com/apache/spark/pull/29917#discussion_r499341196
##########
File path: R/pkg/R/functions.R
##########
@@ -4458,3 +4469,25 @@ setMethod("timestamp_seconds",
)
column(jc)
})
+
+#' @details
+#' \code{vector_to_array} Converts a column of MLlib sparse/dense vectors into
+#' a column of dense arrays.
+#'
+#' @param dtype The data type of the output array. Valid values: "float64" or
"float32".
+#'
+#' @rdname column_ml_functions
+#' @aliases vector_to_array vector_to_array,Column-method
+#' @note vector_to_array since 3.1.0
Review comment:
Can we add an example ( `dontrun`) while we're making a followup to
address https://github.com/apache/spark/pull/29917/files#r499340542?
----------------------------------------------------------------
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]