mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 20:03:54 +01:00
23 lines
300 B
Markdown
23 lines
300 B
Markdown
|
---
|
||
|
title: dfr first
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
Creates new dataframe with first rows
|
||
|
|
||
|
## Signature
|
||
|
|
||
|
```> dfr first (rows)```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
- `rows`: Number of rows for head
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
Create new dataframe with head rows
|
||
|
```shell
|
||
|
> [[a b]; [1 2] [3 4]] | dfr to-df | dfr first 1
|
||
|
```
|