-
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
describe fails on a categorical array column from RDatasets dataframe #2672
describe fails on a categorical array column from RDatasets dataframe #2672
Comments
@nalimilan - the problem is this line: https://github.com/JuliaData/DataFrames.jl/blob/main/src/abstractdataframe/abstractdataframe.jl#L643 What do you think we should do? |
I've commented in CategoricalArrays. I'm afraid there's not much we can do on the DataFrames side. |
For the time being we could do:
In this way we will narrow down the |
Yeah that would be OK. Though it's kind of ugly... |
If you agree on what I propose in JuliaData/CategoricalArrays.jl#333 (i.e. to make sure that this comprehension does not throw an error then I would not change anything in DataFrames.jl). We have to fix it in general I think as otherwise e.g. the following also fails:
and we cannot fix such things manually everywhere in DataFrames.jl. |
I would close this and fix the issue in CategoricalArrays.jl |
bump - @nalimilan do you think we can close this PR here and delegate to CategoricalArrays.jl to fix it there? |
How to reproduce
Versions
Julia v"1.6.0-rc3"
The text was updated successfully, but these errors were encountered: