Skip to content

tidypolars 0.11.0

Latest
Compare
Choose a tag to compare
@etiennebacher etiennebacher released this 17 Oct 10:20

tidypolars requires polars >= 0.20.0.

Breaking changes

  • arrange() now errors with unknown variable names (like dplyr::arrange()).
    Previously, unknown variables were silently ignored. Using expressions (like
    a + b) is now accepted (#144).

  • The parameter inherit_optimization is removed from all sink_*() functions.

New features

  • The power operators ^ and ** now work.

  • New function sink_ndjson() to write the results of a lazy query to a NDJSON
    file without collecting it in memory.

  • inner_join() now accepts inequality joins in the by argument, including
    the following helpers: between(), overlaps(), within() (#148).

Bug fixes

  • Using an external object in case_when(), ifelse() and ifelse() now works.

  • str_sub() doesn't error anymore when start is positive and end is negative.

  • read_*_polars() functions used to return a standard data.frame by mistake.
    They now return a Polars DataFrame.

  • Using [ for subsetting in expressions now works. Thanks @ginolhac for the
    report (#141).

  • bind_cols_polars() and bind_rows_polars() now error (as expected before) if
    elements are a mix of Polars DataFrames and LazyFrames.