Open davidavdav opened 4 years ago
Hello,
I found that boolean columns index strangely when they are of type Arrow.BitPrimitive. A minimum working error:
Arrow.BitPrimitive
y = DataFrame(ok=rand(Bool, 100)) @assert length(y.ok[trues(100)]) == 100 ## true Feather.write("test.feather", y) y = Feather.read("test.feather") @assert length(y.ok[trues(100)]) == 100 ## false
a fix for me would be
y.ok = BitArray(y.ok) @assert length(y.ok[trues(100)]) == 100 ## true
I don't know what the Arrow types are, but the BitPrimitive type should probably be converted to BitArray
Hello,
I found that boolean columns index strangely when they are of type
Arrow.BitPrimitive
. A minimum working error:a fix for me would be
I don't know what the Arrow types are, but the BitPrimitive type should probably be converted to BitArray