tidypolars 0.6.0
tidypolars
requires polars
>= 0.15.0.
Breaking changes and deprecations
-
as_polars()
is deprecated and will be removed in 0.7.0. Useas_polars_lf()
oras_polars_df()
instead. -
as_polars()
doesn't have an argumentwith_string_cache
anymore. When set
toTRUE
, this enabled the string cache globally, which could lead to
undesirable side effects. -
to_r()
is deprecated and will be removed in 0.7.0. Useas.data.frame()
or
as_tibble()
instead. This used to silently return aLazyFrame
if the
input wasLazyFrame
. It now automatically collects theLazyFrame
(#88). -
pull()
nows automatically collects inputLazyFrame
(#89).
New features
-
Add support for argument
.keep
inmutate()
(#80). -
Add support for
group_vars()
andgroup_keys()
(#81). -
Experimental support of
rowwise()
. For now, this is limited to a few
functions:mean()
,median()
,min()
,max()
,sum()
,all()
,any()
.
rowwise()
andgroup_by()
cannot be used at the same time (#40). -
All functions that return a polars
Data/LazyFrame
now add the class
"tidypolars"
to the output (#86). -
Support
which.min()
,which.max()
,dplyr::n()
. -
Support
.data[[
and.env[[
in addition to.data$
and.env$
. Better
error messages when the objects specified in.data
or.env
don't exist.
Bug fixes
pull()
now errors whenvar
is of length > 1.