thisisnic commented on code in PR #12744:
URL: https://github.com/apache/arrow/pull/12744#discussion_r847429916


##########
r/R/scalar.R:
##########
@@ -44,6 +58,8 @@
 #' Scalar$create(404)
 #' # If you pass a vector into Scalar$create, you get a list containing your 
items
 #' Scalar$create(c(1, 2, 3))
+#' # If you pass a data.frame with multiple columns into Scalar$create, you 
get the first row of the data.frame
+#' Scalar$create(mtcars)

Review Comment:
   Sure; I see what you mean, though could you give me an example of when a 
user might want to use a data frame as an input to `Scalar$create()`?  I think 
that documenting this could cause more confusion.



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to