Skip to content

Commit

Permalink
Update merge.md
Browse files Browse the repository at this point in the history
Update the example to make it clearer
  • Loading branch information
AlifianK authored Oct 1, 2024
1 parent afc86c2 commit 2f52e8c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions commands/docs/merge.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 │
╰───┴──────╯
```
Expand Down Expand Up @@ -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.
repeating this process with row 1, and so on.

0 comments on commit 2f52e8c

Please sign in to comment.