Hi Guys,
I’m a newbie to use Julia for data manipulation. When I try to convert some of my Python Pandas
code to Julia code, I got some problem.
function remove_outliers(data::DataFrame,variable::Symbol;lower=-Inf,upper=Inf)
return subset(data, variable => x -> x .> lower, variable => x -> x .<= upper)
This function works perfect but when I try to use DataFramesMeta
package to do it
function remove_outliers(data::DataFrame,variable::Symbol;lower=-Inf,upper=Inf)
return @subset(data, variable .> lower, variable .<= upper)
I got some error message. Could anyone help me!