spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [spark] HyukjinKwon commented on a change in pull request #29917: [SPARK-33040][R][ML] Add SparkR wrapper for vector_to_array
Date Mon, 05 Oct 2020 04:30:54 GMT

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message