Skip to content

how to get the max value of a column #360

Answered by xiaodaigh
SMousavi90 asked this question in Q&A
Discussion options

You must be logged in to vote

you might be just missing collect which is needed.

library(disk.frame)

i = as.disk.frame(iris)

i %>% 
  summarise(max(Sepal.Width, na.rm=T)) %>% 
  collect() %>% 
  pull()

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@SMousavi90
Comment options

@xiaodaigh
Comment options

@SMousavi90
Comment options

@xiaodaigh
Comment options

Answer selected by SMousavi90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #359 on September 22, 2021 12:55.