Skip to content

Commit 239674f

Browse files
authored
fix(slice docs): slice_sample(n=5)
The docs have `slice_sample(5)` which only creates one sample (not 5). Perhaps this is a code issue and not a doc issue.
1 parent 1208cf6 commit 239674f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples/UserGuide/slice.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ end
6464
# ## Sample 5 random rows in the data frame
6565

6666
@chain df begin
67-
@slice_sample(5)
67+
@slice_sample(n=5)
6868
end
6969

7070
# ## Slice the min
@@ -99,4 +99,4 @@ end
9999

100100
@chain df begin
101101
@slice_head(n = 3)
102-
end
102+
end

0 commit comments

Comments
 (0)