Skip to content

tidypolars 0.9.0

Compare
Choose a tag to compare
@etiennebacher etiennebacher released this 05 Jul 20:36

tidypolars requires polars >= 0.18.0.

New features

  • Add support for several functions:

    • from package base: %% and %/%.

    • from package dplyr: dense_rank(), row_number().

    • from package lubridate: wday().

  • Better handling of missing values to match R behavior. In the following
    functions, if there is at least one missing value and na.rm = FALSE (the
    default), then the output will be NA: max(), mean(), median(), min(),
    sd(), sum(), var() (#120).

  • New argument cluster_with_columns in collect(), compute(), and fetch().

  • Add a global option tidypolars_unknown_args to control what happens when
    tidypolars doesn't know how to handle an argument in a function. The default
    is to warn and the only other accepted value is "error".

Bug fixes

  • count() and add_count() no longer overwrite a variable named n if the
    argument name is unspecified.