Skip to content

Commit

Permalink
more exciting example
Browse files Browse the repository at this point in the history
  • Loading branch information
pdeffebach committed Apr 15, 2021
1 parent bd4b531 commit 8ab6fd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DataFramesMeta.jl
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ julia> @orderby(d, sortperm(:c, rev = true))
9 │ 3 2 b
10 │ 3 1 a
julia> @orderby(d, :x, :n .- mean(:n))
julia> @orderby(d, :x, abs.(:n .- mean(:n)))
10×3 DataFrame
Row │ x n c
│ Int64 Int64 String
Expand All @@ -543,9 +543,9 @@ julia> @orderby(d, :x, :n .- mean(:n))
5 │ 1 10 j
6 │ 2 4 d
7 │ 2 8 h
8 │ 3 1 a
8 │ 3 3 c
9 │ 3 2 b
10 │ 3 3 c
10 │ 3 1 a
"""
macro orderby(d, args...)
Expand Down

0 comments on commit 8ab6fd0

Please sign in to comment.