forked from extern/nushell
31 lines
495 B
Markdown
31 lines
495 B
Markdown
|
---
|
||
|
title: dfr append
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
Appends a new dataframe
|
||
|
|
||
|
## Signature
|
||
|
|
||
|
```> dfr append (other) --col```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
- `other`: dataframe to be appended
|
||
|
- `--col`: appends in col orientation
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
Appends a dataframe as new columns
|
||
|
```shell
|
||
|
> let a = ([[a b]; [1 2] [3 4]] | dfr to-df);
|
||
|
$a | dfr append $a
|
||
|
```
|
||
|
|
||
|
Appends a dataframe merging at the end of columns
|
||
|
```shell
|
||
|
> let a = ([[a b]; [1 2] [3 4]] | dfr to-df);
|
||
|
$a | dfr append $a --col
|
||
|
```
|