Indeed. Maybe the linq-style macro could be used to make that more readable, though perhaps just as lengthy: https://github.com/JuliaStats/DataFramesMeta.jl#alternative-linq-macro
On Wednesday, May 20, 2015 at 12:25:09 PM UTC-4, Nils Gudat wrote: > > That seems to do the trick, although the syntax gets very messy very > quickly - an example of replacing values in one column with those in > another column, if three conditions are met: > > @where(df, array((:cond1).==0 & (:cond2.==1) & (:cond3.==1), > false))[:col1] = @where(df, array((:cond1).==0 & (:cond2.==1) & > (:cond3.==1), false))[:col2] > >
