I have some heavy csv table that i would like to import in parallel with @sync @sync macros. Not very familiar to this, I tried this way :
#import files
@sync @async begin
df1=CSV.File(libname*"df1.csv")|> DataFrame!
df2=CSV.File(libname*"df2.csv")|> DataFrame!
end
I have the task done, but the data subset I make after seems to be impacted :
select!(df1, Not("Var1"))
ArgumentError : Column :Var1 not found in the data frame
PS : without @sync macro the code works well
I probably make something wrong. Any idea would be helpful. Thanks