Skip to content

tidypolars 0.18.0

Latest

Choose a tag to compare

@etiennebacher etiennebacher released this 31 Mar 13:44

tidypolars requires polars >= 1.10.0.

New features

  • Added support for the following functions:

  • Added decreasing and na.last arguments support to sort() (@Yousa-Mirage, #328).

  • Added na.last and ties.method arguments support to rank() (@Yousa-Mirage, #329).

  • Better error message in filter() when a condition uses = instead of == (#341).

  • count() and add_count() now work with expressions, e.g. count(mtcars, mpg + 1)
    (#346).

  • as_tibble() on grouped Polars DataFrames or LazyFrames now returns a grouped
    tibble (#348).

Bug fixes

  • Fix NA handling in cummin(), cumprod(), cumsum() (@Yousa-Mirage, #326).

  • Fix NA handling in is.finite(), is.infinite(), and is.nan() (#331).

  • In arrange(), if the data was grouped, the order was never maintained even if
    maintain_order = TRUE was passed in group_by(). This is now fixed (#332).

  • When exporting to CSV, null_values alone did not apply and could override explicitly
    provided null_value. This is now fixed (@Yousa-Mirage, #334).

  • Fix sample() to make it work correctly (@Yousa-Mirage, #338).

  • Fix unite() behavior when na.rm = TRUE (#344).

  • Fix a bug in fill() where groups set in .by would be preserved after the
    operation (hence returning a grouped output) (#348).