2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: dfr to-df
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
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
|
2022-03-03 01:55:03 +01:00
|
|
|
> [true true false] | dfr to-df
|
2022-02-14 03:22:51 +01:00
|
|
|
```
|