You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that JuliaLang/julia#42144 was not backported to 1.6 LTS. Let us wait for Julia maintainers to decide what to do about it (in general - you are hitting a bug in Julia not in DataFrames.jl).
DataFrames.jl Version 1.5.0.
Julia Version 1.6.1
When one or more columns in an array are of type bitvector, dropmissing! will fail.
The issue appears to be caused at line 922 of dataframe.jl (_deleteat!_helper)
The problem here is that bitarray.deleteat!(B::Bitvector, inds) takes precedence over array.deleteat!(a::Vector, inds::AbstractVector{Bool}).
Version 1.7.0 of base adds the signature bitarray.deleteat!(B::Bitvector, inds::AbstractVector{Bool}) which will fix the issue.
An alternative would be update the project.toml to better indicate the compatibility with Base.
Minimal Example:
Expected Behavior (occurs if B::Vector{Bool}):
Observed Behavior (occurs if B::BitArray):
The text was updated successfully, but these errors were encountered: