-
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
dropmissing!
creates weird memory bugs/errors on 1.7 and 1.6
#2819
Comments
I have traced the source of the bug. Unfortunately it seems to be in Julia Base (which is unlikely), so this is strange. The problem happens if rows that need to be removed from The problem is fixed when in line DataFrames.jl/src/dataframe/dataframe.jl Line 978 in ab5ffd7
(this forces Julia Base to use another internal implementation of I will try asking Julia core devs for help. |
n.b. `n == a->nrows + dec` Fixes JuliaData/DataFrames.jl#2819
@pcjentsch - if you can/have time can you please test the code with the fix in JuliaLang/julia#41646 (if not I can do it later, but currently I do not have access to an appropriate machine to do this). Thank you! Nevertheless I will add a fix to DataFrames.jl code and make a patch release. Thank you for reporting. |
@pcjentsch - please update DataFrames.jl to 1.2.1 release and all will work OK. |
Great, thank you! I will not have time to test the new Julia branch for the next week or so but I appreciate your fast response time. |
n.b. `n == a->nrows + dec` Fixes JuliaData/DataFrames.jl#2819
n.b. `n == a->nrows + dec` Fixes JuliaData/DataFrames.jl#2819 (cherry picked from commit 2e06a01)
n.b. `n == a->nrows + dec` Fixes JuliaData/DataFrames.jl#2819 (cherry picked from commit 2e06a01)
n.b. `n == a->nrows + dec` Fixes JuliaData/DataFrames.jl#2819 (cherry picked from commit 2e06a01)
n.b. `n == a->nrows + dec` Fixes JuliaData/DataFrames.jl#2819 (cherry picked from commit 2e06a01)
n.b. `n == a->nrows + dec` Fixes JuliaData/DataFrames.jl#2819 (cherry picked from commit 2e06a01)
The MWE is available in this repository. It uses the publicly available Our World in Data COVID dataset. Let me know if this should be posted in the Julia language repository instead. I am using the latest DataFrames release.
This code creates a few different error messages.
On 1.7
another message
(then hangs)
On 1.6
Generally replacing the line
with
avoids this error.
The text was updated successfully, but these errors were encountered: