Skip to content

Commit d31994d

Browse files
authored
Merge pull request #248 from Yijia-Chen/Query_macro2
Fix doc tests
2 parents da5ea3a + 8f6fc44 commit d31994d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/src/standalonequerycommands.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ println(q1)
282282
283283
# output
284284
285-
3×2 DataFrame
285+
3×2
286+
DataFrames.DataFrame
286287
│ Row │ price │ fruit │
287288
│ │ Float64 │ String │
288289
├─────┼─────────┼────────┤
@@ -292,13 +293,16 @@ println(q1)
292293
```
293294

294295
```jldoctest
296+
using Query, DataFrames
297+
295298
q2 = df |> @select(!endswith("t"), 1) |> DataFrame
296299
297300
println(q2)
298301
299302
# output
300303
301-
3×3 DataFrame
304+
3×3
305+
DataFrames.DataFrame
302306
│ Row │ price │ isyellow │ fruit │
303307
│ │ Float64 │ Bool │ String │
304308
├─────┼─────────┼──────────┼────────┤
@@ -322,7 +326,8 @@ println(q)
322326
323327
# output
324328
325-
3×4 DataFrame
329+
3×4
330+
DataFrames.DataFrame
326331
│ Row │ name │ amount │ cost │ isyellow │
327332
│ │ String │ Int64 │ Float64 │ Bool │
328333
├─────┼────────┼────────┼─────────┼──────────┤
@@ -344,7 +349,8 @@ println(q)
344349
345350
# output
346351
347-
3×4 DataFrame
352+
3×4
353+
DataFrames.DataFrame
348354
│ Row │ fruit │ amount │ price │ isyellow │
349355
│ │ String │ Int64 │ Float64 │ Bool │
350356
├─────┼────────┼────────┼─────────┼──────────┤

0 commit comments

Comments
 (0)