Skip to content

how to get the max value of a column #359

Description

@SMousavi90

Considering this line of code which in dataframes returns the max value of the "date" column, how can we do the same with diskframe? I tried multiple ways but none of them works.

max_date <- max(my.df$date,na.rm=TRUE)

this is the one that didn't work:

max <- (my.df %>% summarise(max(date, na.rm=T)))[[1]]

it returns an integer which is not a date obviously.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions