Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

case_when taking too much time

notPlancha answered on May 1, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


case_when taking too much time

0

ungroup the dataframe

https://github.com/tidyverse/dplyr/issues/6674 (still an issue on 1.1.2 afaik)

I think it's because it's recalculating every group every change

If it's still slow use tidyfast::dt_case_when()

Popularity 1/10 Helpfulness 1/10 Language whatever
Source: Grepper
Tags: time whatever
Link to this answer
Share Copy Link
Contributed on May 01 2023
notPlancha
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.