dgreiss commented on issue #33149:
URL: https://github.com/apache/arrow/issues/33149#issuecomment-1642882368

   @thisisnic @paleolimbot thanks for the feedback. I was building on this 
issue #32656 which looks to bring Arrow closer to feature parity with dplyr 
functions.
   
   The dplyr docs have a few examples of when a user might want to use 
[rowwise](https://dplyr.tidyverse.org/reference/rowwise.html). 
   
   ```r
   df <- tibble(x = runif(6), y = runif(6), z = runif(6))
   # Compute the mean of x, y, z in each row
   df %>% rowwise() %>% mutate(m = mean(c(x, y, z)))
   # use c_across() to more easily select many variables
   df %>% rowwise() %>% mutate(m = mean(c_across(x:z)))
   
   # Compute the minimum of x and y in each row
   df %>% rowwise() %>% mutate(m = min(c(x, y, z)))
   
   ```
   Notably, `dbplyr` also doesn't implement 
[rowwise()](https://dplyr.tidyverse.org/reference/rowwise.html).


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