DataFrames (successful):
lst = describe(df)[(describe(df)."nmissing" .> 0 .&& describe(df)."variable" .!= :x26), :variable]
DataFramesMeta:
lst = @chain describe(df) begin
@rsubset :nmissing > 0
@select :variable
@rsubset :variable != Symbol("x26")
end |> x -> vec(x[!, 1])
Error:
MethodError: no method matching isless(::Int64, ::Symbol)
Firstly, I filtered all the row in df with :nmissing
> 0 then select only the :variable
column, finally turn that column to a vector. That’s my task. How can I fix the error?