We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
Here is a little reprex:
df = DataFrame(a = 1:3); my_column = :a; @arrange(df, !!my_column)
The error is
ERROR: MethodError: no method matching ordering(::DataFrame, ::Expr, ::typeof(isless), ::typeof(identity), ::Bool, ::Base.Order.ForwardOrdering) Closest candidates are: ordering(::AbstractDataFrame, ::AbstractVector, ::Function, ::Function, ::Bool, ::Base.Order.Ordering) @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/sort.jl:211 ordering(::AbstractDataFrame, ::AbstractVector, ::Any, ::Any, ::Any, ::Any) @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/sort.jl:289 ordering(::AbstractDataFrame, ::Tuple, ::Any...) @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/sort.jl:303 ... Stacktrace: [1] ordering(df::DataFrame, cols::Vector{Expr}, lt::Function, by::Function, rev::Bool, order::Base.Order.ForwardOrdering) @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/sort.jl:223 [2] sortperm(df::DataFrame, cols::Vector{…}; alg::Nothing, lt::typeof(isless), by::typeof(identity), rev::Bool, order::Base.Order.ForwardOrdering, checkunique::Bool) @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/sort.jl:607 [3] sortperm @ ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/sort.jl:596 [inlined] [4] #sort#378 @ ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/sort.jl:527 [inlined] [5] sort(df::DataFrame, cols::Vector{Expr}) @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/sort.jl:519 [6] macro expansion @ ~/.julia/packages/TidierData/Dw20l/src/TidierData.jl:516 [inlined] [7] top-level scope @ ~/Documentos/GitHub/TidierBook2/dataframes-rows.qmd:3 Some type information was truncated. Use `show(err)` to see complete types.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
Here is a little reprex:
The error is
The text was updated successfully, but these errors were encountered: