From b6056dc8f6c6793f806d5ee18ce4109a4ace134b Mon Sep 17 00:00:00 2001 From: abhro <5664668+abhro@users.noreply.github.com> Date: Fri, 29 Mar 2024 21:38:56 -0400 Subject: [PATCH] Add prompt to REPL example Add "julia> " to example REPL session to clearly indicate code. Also add semicolon to indicate that the output should not be considered. --- src/data/data.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/data.jl b/src/data/data.jl index 32477a75..76c40fc4 100644 --- a/src/data/data.jl +++ b/src/data/data.jl @@ -218,7 +218,7 @@ julia> table = DataFrame(x=[1,2], y=['a', 'b'], z=[10.0, 20.0], w=["A", "B"]) 1 │ 1 a 10.0 A 2 │ 2 b 20.0 B -Z, XY, W = unpack(table, ==(:z), !=(:w)) +julia> Z, XY, W = unpack(table, ==(:z), !=(:w)); julia> Z 2-element Vector{Float64}: 10.0