mirror of
https://github.com/nushell/nushell
synced 2024-11-15 01:17:07 +00: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
|
||
|
```
|