Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions de/book/loading_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Als Parameter reicht das Trennzeichen, der Rest ist automatisch:
```nu
open people.txt | lines | split column "|"
# => ───┬──────────┬───────────┬───────────
# => # │ column1 │ column2 │ column3
# => # │ column0 │ column1 │ column2
# => ───┼──────────┼───────────┼───────────
# => 0 │ Octavia │ Butler │ Writer
# => 1 │ Bob │ Ross │ Painter
Expand All @@ -109,7 +109,7 @@ Mit dem [`trim`](/commands/docs/str_trim.md) Befehl wird dieser beseitigt:
```nu
open people.txt | lines | split column "|" | str trim
# => ───┬─────────┬─────────┬──────────
# => # │ column1 │ column2 │ column3
# => # │ column0 │ column1 │ column2
# => ───┼─────────┼─────────┼──────────
# => 0 │ Octavia │ Butler │ Writer
# => 1 │ Bob │ Ross │ Painter
Expand All @@ -121,7 +121,7 @@ Nicht schlecht. Der [`split`](/commands/docs/split.md) Befehl gibt nicht nur bra
sondern bezeichnet auch noch standardmässig die Spaltennamen:

```nu
open people.txt | lines | split column "|" | str trim | get column1
open people.txt | lines | split column "|" | str trim | get column0
# => ───┬─────────
# => 0 │ Octavia
# => 1 │ Bob
Expand Down
6 changes: 3 additions & 3 deletions es/book/cargando_datos.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Podemos darnos cuenta que estamos trabajando con las líneas porque estamos de v
```nu
open gente.txt | lines | split column "|"
# => ---+----------+-----------+-----------
# => # | Column1 | Column2 | Column3
# => # | column0 | column1 | column2
# => ---+----------+-----------+-----------
# => 0 | Octavia | Butler | Writer
# => 1 | Bob | Ross | Painter
Expand All @@ -93,7 +93,7 @@ Casi se ve correcto. Parece que hay espacio extra ahí. Cambiemos nuestro delimi
```nu
open gente.txt | lines | split column " | "
# => ---+---------+---------+----------
# => # | Column1 | Column2 | Column3
# => # | column0 | column1 | column2
# => ---+---------+---------+----------
# => 0 | Octavia | Butler | Writer
# => 1 | Bob | Ross | Painter
Expand All @@ -104,7 +104,7 @@ open gente.txt | lines | split column " | "
Nada mal. El comando `split` nos da datos que podemos usar. Adicionalmente nos crea nombres de columnas predeterminadas:

```nu
open gente.txt | lines | split column " | " | get Column1
open gente.txt | lines | split column " | " | get column0
# => ---+---------
# => # | value
# => ---+---------
Expand Down
6 changes: 3 additions & 3 deletions ko/book/loading_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ open people.txt | lines
```nu
open people.txt | lines | split column "|"
# => ───┬──────────┬───────────┬───────────
# => # │ column1 │ column2 │ column3
# => # │ column0 │ column1 │ column2
# => ───┼──────────┼───────────┼───────────
# => 0 │ Octavia │ Butler │ Writer
# => 1 │ Bob │ Ross │ Painter
Expand All @@ -135,7 +135,7 @@ open people.txt | lines | split column "|"
```nu
open people.txt | lines | split column "|" | str trim
# => ───┬─────────┬─────────┬──────────
# => # │ column1 │ column2 │ column3
# => # │ column0 │ column1 │ column2
# => ───┼─────────┼─────────┼──────────
# => 0 │ Octavia │ Butler │ Writer
# => 1 │ Bob │ Ross │ Painter
Expand All @@ -146,7 +146,7 @@ open people.txt | lines | split column "|" | str trim
나쁘지 않습니다. [`split`](/commands/docs/split.md) 명령은 사용할 수 있는 데이터를 제공합니다. 또한 기본 열 이름을 제공합니다.

```nu
open people.txt | lines | split column "|" | str trim | get column1
open people.txt | lines | split column "|" | str trim | get column0
# => ───┬─────────
# => 0 │ Octavia
# => 1 │ Bob
Expand Down
2 changes: 1 addition & 1 deletion ko/book/working_with_strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const x = $"(2kb)"
```nu
"red,green,blue" | split column ","
# => ╭───┬─────────┬─────────┬─────────╮
# => │ # │ column1 │ column2 │ column3 │
# => │ # │ column0 │ column1 │ column2 │
# => ├───┼─────────┼─────────┼─────────┤
# => │ 0 │ red │ green │ blue │
# => ╰───┴─────────┴─────────┴─────────╯
Expand Down
6 changes: 3 additions & 3 deletions pt-BR/book/carregando_dados.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Podemos notar que estamos lidando com linhas porque voltamos a ver uma lista. No
```nu
open people.txt | lines | split column "|"
# => ---+----------+-----------+-----------
# => # | Column1 | Column2 | Column3
# => # | column0 | column1 | column2
# => ---+----------+-----------+-----------
# => 0 | Octavia | Butler | Writer
# => 1 | Bob | Ross | Painter
Expand All @@ -93,7 +93,7 @@ Está quase certo. Parece que tem um espaço extra ali. Vamos mudar nosso delimi
```nu
open people.txt | lines | split column " | "
# => ---+---------+---------+----------
# => # | Column1 | Column2 | Column3
# => # | column0 | column1 | column2
# => ---+---------+---------+----------
# => 0 | Octavia | Butler | Writer
# => 1 | Bob | Ross | Painter
Expand All @@ -104,7 +104,7 @@ open people.txt | lines | split column " | "
Nada mal. O comando `split column` retorna dados que podemos usar. Ele também vai além e nos dá nomes de coluna padrão:

```nu
open people.txt | lines | split column " | " | get Column1
open people.txt | lines | split column " | " | get column0
# => ---+---------
# => # | value
# => ---+---------
Expand Down
6 changes: 3 additions & 3 deletions zh-CN/book/loading_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ open people.txt | lines
```nu
open people.txt | lines | split column "|"
# => ───┬──────────┬───────────┬───────────
# => # │ column1 │ column2 │ column3
# => # │ column0 │ column1 │ column2
# => ───┼──────────┼───────────┼───────────
# => 0 │ Octavia │ Butler │ Writer
# => 1 │ Bob │ Ross │ Painter
Expand All @@ -135,7 +135,7 @@ open people.txt | lines | split column "|"
```nu
open people.txt | lines | split column "|" | str trim
# => ───┬─────────┬─────────┬──────────
# => # │ column1 │ column2 │ column3
# => # │ column0 │ column1 │ column2
# => ───┼─────────┼─────────┼──────────
# => 0 │ Octavia │ Butler │ Writer
# => 1 │ Bob │ Ross │ Painter
Expand All @@ -146,7 +146,7 @@ open people.txt | lines | split column "|" | str trim
还不错,[`split`](/commands/docs/split.md)命令返回给我们可以使用的数据,还预设了默认的列名:

```nu
open people.txt | lines | split column "|" | str trim | get column1
open people.txt | lines | split column "|" | str trim | get column0
# => ───┬─────────
# => 0 │ Octavia
# => 1 │ Bob
Expand Down
Loading