tidypolars requires polars >= 1.10.0.
New features
-
Added support for the following functions:
-
Added
decreasingandna.lastarguments support tosort()(@Yousa-Mirage, #328). -
Added
na.lastandties.methodarguments support torank()(@Yousa-Mirage, #329). -
Better error message in
filter()when a condition uses=instead of==(#341). -
count()andadd_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
NAhandling incummin(),cumprod(),cumsum()(@Yousa-Mirage, #326). -
Fix
NAhandling inis.finite(),is.infinite(), andis.nan()(#331). -
In
arrange(), if the data was grouped, the order was never maintained even if
maintain_order = TRUEwas passed ingroup_by(). This is now fixed (#332). -
When exporting to CSV,
null_valuesalone did not apply and could override explicitly
providednull_value. This is now fixed (@Yousa-Mirage, #334). -
Fix
sample()to make it work correctly (@Yousa-Mirage, #338). -
Fix
unite()behavior whenna.rm = TRUE(#344). -
Fix a bug in
fill()where groups set in.bywould be preserved after the
operation (hence returning a grouped output) (#348).