mirror of
https://github.com/nushell/nushell
synced 2024-12-31 23:39:00 +00:00
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
34 lines
523 B
Markdown
34 lines
523 B
Markdown
---
|
|
title: dfr to-df
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
Converts a List, Table or Dictionary into a dataframe
|
|
|
|
## Signature
|
|
|
|
```> dfr to-df ```
|
|
|
|
## Examples
|
|
|
|
Takes a dictionary and creates a dataframe
|
|
```shell
|
|
> [[a b];[1 2] [3 4]] | dfr to-df
|
|
```
|
|
|
|
Takes a list of tables and creates a dataframe
|
|
```shell
|
|
> [[1 2 a] [3 4 b] [5 6 c]] | dfr to-df
|
|
```
|
|
|
|
Takes a list and creates a dataframe
|
|
```shell
|
|
> [a b c] | dfr to-df
|
|
```
|
|
|
|
Takes a list of booleans and creates a dataframe
|
|
```shell
|
|
> [$true $true $false] | dfr to-df
|
|
```
|
|
|