From 2f52e8c89fcc9def2449f07a7ce4cf77fc5d30ab Mon Sep 17 00:00:00 2001 From: AlifianK <50392169+AlifianK@users.noreply.github.com> Date: Tue, 1 Oct 2024 23:27:50 +0700 Subject: [PATCH] Update merge.md Update the example to make it clearer --- commands/docs/merge.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/commands/docs/merge.md b/commands/docs/merge.md index 3dadeb0e0b8..f9cda1b6c8e 100644 --- a/commands/docs/merge.md +++ b/commands/docs/merge.md @@ -33,13 +33,13 @@ usage: | Add an 'index' column to the input table ```nu -> [a b c] | wrap name | merge ( [1 2 3] | wrap index ) +> [a b c] | wrap name | merge ( [4 5 6] | wrap index ) ╭───┬──────╮ │ # │ name │ ├───┼──────┤ -│ 1 │ a │ -│ 2 │ b │ -│ 3 │ c │ +│ 4 │ a │ +│ 5 │ b │ +│ 6 │ c │ ╰───┴──────╯ ``` @@ -70,4 +70,4 @@ You may provide a column structure to merge When merging tables, row 0 of the input table is overwritten with values from row 0 of the provided table, then -repeating this process with row 1, and so on. \ No newline at end of file +repeating this process with row 1, and so on.