mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 21:03:58 +01:00
24 lines
374 B
Markdown
24 lines
374 B
Markdown
|
---
|
||
|
title: dfr with-column
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
Adds a series to the dataframe
|
||
|
|
||
|
## Signature
|
||
|
|
||
|
```> dfr with-column (series) --name```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
- `series`: series to be added
|
||
|
- `--name {string}`: column name
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
Adds a series to the dataframe
|
||
|
```shell
|
||
|
> [[a b]; [1 2] [3 4]] | dfr to-df | dfr with-column ([5 6] | dfr to-df) --name c
|
||
|
```
|