Closed
Description
Thanks for your great work on this package.
I discovered an odd behaviour I wanted to share:
using CSV, DataFrames
dt = DataFrame(a = rand(10000))
dt.a .== dt.a .== dt.a # works
CSV.write("test.csv", dt)
df = CSV.File("test.csv", threaded=false) |> DataFrame!
df.a .== df.a .== df.a # works
dt==df # true
df2 = CSV.File("test.csv", threaded=true) |> DataFrame!
df2.a .== df2.a # works
df2.a .== df2.a .== df2.a # does not work
df2==df # true
tested on Julia 1.3-rc4 and 5 with activated threading on Win10 and Linux.
The problem seems to be related to broadcasting and LazyArrays.
I already posted on discourse (https://discourse.julialang.org/t/csv-dataframes-problems-with-threads/31318)
Metadata
Metadata
Assignees
Labels
No labels