change @benchmark to @btime
This commit is contained in:
parent
e736e3bed8
commit
4d3f9546ea
5
ch09.jl
5
ch09.jl
@ -96,8 +96,9 @@ df1.Popularity === puzzles.Popularity
|
||||
df2.Rating === puzzles.Rating
|
||||
df2.Popularity === puzzles.Popularity
|
||||
|
||||
@benchmark $puzzles[:, ["Rating", "Popularity"]]
|
||||
@benchmark $puzzles[!, ["Rating", "Popularity"]]
|
||||
using BenchmarkTools
|
||||
@btime $puzzles[:, ["Rating", "Popularity"]];
|
||||
@btime $puzzles[!, ["Rating", "Popularity"]];
|
||||
|
||||
puzzles[1, 1]
|
||||
puzzles[[1], 1]
|
||||
|
Loading…
Reference in New Issue
Block a user