nushell/docs/commands/dfr_to-nu.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

469 B

title layout version
dfr to-nu command 0.59.0

Converts a section of the dataframe to Nushell Table

Signature

> dfr to-nu --n-rows --tail

Parameters

  • --n-rows {number}: number of rows to be shown
  • --tail: shows tail rows

Examples

Shows head rows from dataframe

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

Shows tail rows from dataframe

> [[a b]; [1 2] [3 4] [5 6]] | dfr to-df | dfr to-nu -t -n 1