forked from extern/nushell
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
24 lines
301 B
Markdown
24 lines
301 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
|
|
```
|
|
|