nushell/docs/commands/dfr_to-df.md

519 B

title layout version
dfr to-df command 0.59.1

Converts a List, Table or Dictionary into a dataframe

Signature

> dfr to-df

Examples

Takes a dictionary and creates a dataframe

> [[a b];[1 2] [3 4]] | dfr to-df

Takes a list of tables and creates a dataframe

> [[1 2 a] [3 4 b] [5 6 c]] | dfr to-df

Takes a list and creates a dataframe

> [a b c] | dfr to-df

Takes a list of booleans and creates a dataframe

> [true true false] | dfr to-df