f_fill
to fill NA
values
forwards and backwards by group.f_bind_rows
sees a noticeable speed improvement.f_summarise
now returns results in the correct order
when both multiple cols and multiple optimised functions were
specified.
Joins were returning an error when x
and
y
are grouped_df
objects.
The join by argument now accepts a partial named character vector without throwing an error.
tidy_quantiles
would return an error when
probabilities were not sorted and has now been fixed.
seed
argument of f_slice_sample
is
soft-deprecated. To achieve sampling, or really any RNG functions with a
local seed, use cheapr::with_local_seed()
.tidy_quantiles
gains dramatic speed and efficiency
improvements.
The order
and sort
arguments for data
frame functions have been superseded in favour of .order
and .sort
.
New argument .order
added to both
f_summarise
and tidy_quantiles
to allow for
controlling the order of groups.
rowwise_df
is now explicitly unsupported. To group
by row, use f_rowwise
.
New functions f_nest_by
, f_rowwise
and
add_consecutive_id
.
A few bug fixes including:
f_bind_rows
was not working when supplied with more
than 2 data frames in some cases.f_summarise
was not working when supplied with
non-function expressions.f_bind_cols
now recycles its arguments and converts
non-data frames to data frames to allow for joining variables as if they
were columns.
Fixed a bug in the f_join
functions where incorrect
matches were occurring when the columns being joined on are ‘exotic’
variables, e.g. lists, lubridate ‘Intervals’, etc. Currently fastplyr
uses a proxy method to join these kinds of variables through the use of
group_id
. This was not being applied correctly for joined
exotic variables and should now be fixed.
New function f_consecutive_id
as an alternative to
dplyr::consecutive_id
.