File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff 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+
295298q2 = df |> @select(!endswith("t"), 1) |> DataFrame
296299
297300println(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├─────┼────────┼────────┼─────────┼──────────┤
You can’t perform that action at this time.
0 commit comments