-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make stack create CategoricalVector{String} vector from column names #1947
Comments
@nalimilan - given #2029 what do you think we should do here? |
Ah, so indeed that would be a reason to keep depending on CategoricalArrays. For reference, in the tidyverse, |
In R I think that the problem is that "factor" is a bit broken. We do not have this problem in CategoricalArrays.jl. Now as:
I am OK with this loading time, so as noted earlier I have no problem with keeping CategoricalArrays.jl (removing it would cut it to probably something around 0.7 seconds at best, so the perception of the lag would be of similar order I think). @nalimilan - so it is a call to you to make a decision here 😄. @quinnj - maybe you want to comment here or in #2029 how you see the CategoricalArrays.jl case (keep it or drop it?), especially in relation to CSV.jl. Thank you! |
I think people complain not only about the loading time, but also about the fact that loading CategoricalArrays invalidates lots of Base functions, which introduces many delays when calling the function for the first time in the session. But yeah, it sounds annoying to have to drop CategoricalArrays just because of that. |
Yeah, I like the functionality of CategoricalArrays.jl, but I wish it didn't cause so much compiler trouble; it'd be great if we could figure all that out quickly to make it an easier/lighter/more friendly dependency. |
Unfortunately I don't know how... |
@quinnj - do you have some time to spare and lay out what are the core problems that CategoricalArrays.jl causes for compiler (i.e. I know the design of the package but I never studied what exactly causes the most pain). Thank you! |
From what I understand, it comes down to some problematic |
Currently it is
Vector{Symbol}
. See JuliaInterop/RCall.jl#331 for a discussion (but I think this would be also useful in general).The text was updated successfully, but these errors were encountered: