nushell/docs/commands/dfr_first.md

300 B

title layout version
dfr first command 0.59.1

Creates new dataframe with first rows

Signature

> dfr first (rows)

Parameters

  • rows: Number of rows for head

Examples

Create new dataframe with head rows

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